Skip to content

Conversation

@jhedstrom
Copy link
Member

  • Only run the composer:drupal-scaffold task if it is defined in the
    composer.json scripts section.

This fixes an issue where D7 builds (or D8 builds without the drupal-scaffold script defined) would fail with:

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "drupal-scaffold" is not defined.


Warning: Task "composer:drupal-scaffold" failed. Use --force to continue.

Aborted due to warnings.

@jhedstrom jhedstrom added the bug label Jul 14, 2016
@jhedstrom jhedstrom added this to the 1.0.0 milestone Jul 14, 2016
- Only run the `composer:drupal-scaffold` task if it is defined in the
  `composer.json` scripts section.
@jhedstrom jhedstrom force-pushed the conditionally-run-drupal-scaffold branch from 5aa30c8 to 1a07459 Compare July 14, 2016 22:02
@arithmetric
Copy link
Collaborator

Looks good, thanks!

@arithmetric arithmetric merged commit 810e3a9 into master Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants