You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// standard-version/command.js: 11.option('bumpFiles',{default: defaults.bumpFiles,array: true})...// standard-version/index.js: 40/** * If an argument for `packageFiles` provided, we include it as a "default" `bumpFile`. */if(argv.packageFiles){defaults.bumpFiles=defaults.bumpFiles.concat(argv.packageFiles)}constargs=Object.assign({},defaults,argv)
Describe the bug
Current behavior
argv.bumpFiles 覆盖 defaults. bumpFiles;
code失去作用
Expected behavior
.versionrc 不设置 bumpFiles,
npx standard-version -u
defaults.bumpFiles = defaults.bumpFiles.concat(argv.packageFiles) 发挥作用
Environment
standard-version
version(s): [v9.5.0, master]Possible Solution
delete
.option('bumpFiles', {
default: defaults.bumpFiles,
array: true
})
The text was updated successfully, but these errors were encountered: