Skip to content

Commit

Permalink
fix(cli): version of binary optional dependencies should be pinned
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Sep 19, 2021
1 parent 893a913 commit 27dbca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/pre-publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class PrePublishCommand extends Command {
await updatePackageJson(packageJsonPath, {
optionalDependencies: platforms.reduce(
(acc: Record<string, string>, cur) => {
acc[`${packageName}-${cur.platformArchABI}`] = `^${version}`
acc[`${packageName}-${cur.platformArchABI}`] = `${version}`
return acc
},
{},
Expand Down

0 comments on commit 27dbca8

Please sign in to comment.