Drush command YAML syntax error

Created on 7 June 2021, over 3 years ago
Updated 17 April 2024, 7 months ago

Problem/Motivation

The YAML file of drush.services.yml has an indent for 'tags' that is invalid, causing an error for drush

https://git.drupalcode.org/project/scss/-/blob/8.x-1.x/drush.services.yml

Steps to reproduce

Install and enable module
Run some drush commands

Proposed resolution

Add 'services:' as first line
Remove the two spaces before 'tags' in the YAML file.

services:
  scss.commands:
    class: \Drupal\scss\Commands\ScssCommands
    tags:
      - { name: drush.command }

Apologies, I don't have the setup to do a patch here, but will revisit when I can.

πŸ› Bug report
Status

Closed: outdated

Version

1.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024