Skip to content

Commit

Permalink
composer bump - Fix typo in the warning message (#10841)
Browse files Browse the repository at this point in the history
Change warning text 'Alternatively you can use --dev-only to only bump dependencies within "require-dev"'
that said `--dev` instead of `--dev-only`.
  • Loading branch information
Ayesh committed Jun 12, 2022
1 parent 6186d0c commit 3e844cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Command/BumpCommand.php
Expand Up @@ -126,7 +126,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$contents = $composerJson->read();
if (!isset($contents['type'])) {
$io->writeError('<warning>If your package is not a library, you can explicitly specify the "type" by using "composer config type project".</warning>');
$io->writeError('<warning>Alternatively you can use --dev to only bump dependencies within "require-dev".</warning>');
$io->writeError('<warning>Alternatively you can use --dev-only to only bump dependencies within "require-dev".</warning>');
}
unset($contents);
}
Expand Down

0 comments on commit 3e844cc

Please sign in to comment.