Skip to content

Commit f0d1d68

Browse files
fix(release): Fix args processing for multiple deps
1 parent d56682a commit f0d1d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if (versionBump !== 'none') {
6363
// Generate changelog
6464
let changelog;
6565
if (readlineSync.keyInYN('\n\nUpdate CHANGELOG?')) {
66-
const depsArg = yargs.argv.deps ? `--deps ${yargs.argv.deps}` : '';
66+
const depsArg = yargs.argv.deps ? `--deps ${yargs.argv.deps.join(' ')}` : '';
6767
const show_changelog = path.resolve(__dirname, 'show_changelog.js');
6868

6969
changelog = _exec(`${show_changelog} ${depsArg}`, true).stdout;

0 commit comments

Comments
 (0)