Skip to content

Commit

Permalink
fix(cli): correct the cli's dev version to match semver spec
Browse files Browse the repository at this point in the history
  • Loading branch information
edvardchen committed May 16, 2022
1 parent d157755 commit 1f67a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yarnpkg-cli/sources/boot-cli-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (fs.existsSync(pnpFile))
require(`@yarnpkg/monorepo/scripts/setup-ts-execution`);

// Exposes the CLI version as like for the bundle
global.YARN_VERSION = `${require(`@yarnpkg/cli/package.json`).version}.dev`;
global.YARN_VERSION = `${require(`@yarnpkg/cli/package.json`).version}-dev`;

// Inject the plugins in the runtime. With Webpack that would be through
// val-loader which would execute pluginConfiguration.raw.js, so in Node
Expand Down

0 comments on commit 1f67a38

Please sign in to comment.