Release upgrade instructions have "typo" in code example

Created on 9 November 2023, about 1 year ago

Problem/Motivation

I was following the instructions at https://www.drupal.org/project/lightning_core/releases/6.0.0 , and copied composer update 'drupal/lightning_*' –with-all-dependencies from that to page to run. I then proceeded to wonder why nothing but the lightning_ modules were updated in my composer.lock file. But noticed the composer output was complaining about Package "–with-all-dependencies" listed for update is not locked."

I was further confused when I then copied the example again but just prefixed –with-all-dependencies with another hyphen and it still didn't work. Turns out the culprit seems to be it's an en dash on that page instead of a single dash/hyphen. (The other --with-all-dependencies examples on the page seem to be fine.)

Steps to reproduce

Proposed resolution

Change
composer update 'drupal/lightning_*' –with-all-dependencies (including completely removing the en dash) to
composer update 'drupal/lightning_*' --with-all-dependencies (two hyphens) at:

Remaining tasks

User interface changes

none

API changes

none

Data model changes

none

📌 Task
Status

Active

Version

6.0

Component

Documentation

Created by

🇺🇸United States maxstarkenburg Washington, DC

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

Comments & Activities

Production build 0.71.5 2024