File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ if (parsedArgs.help) {
43
43
} else {
44
44
const subcommand = parsedArgs . _ [ 0 ] ;
45
45
const dryrun = parsedArgs [ "dry-run" ] as boolean ;
46
- const quiet = parsedArgs [ "quiet" ] != undefined ;
46
+ const quiet = Array . isArray ( parsedArgs [ "quiet" ] )
47
+ ? ! ! parsedArgs [ "quiet" ] . length
48
+ : parsedArgs [ "quiet" ] ;
47
49
48
50
switch ( subcommand ) {
49
51
case "integrate" :
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default async function (
64
64
console . log ( `
65
65
eval "_pkgx_dev_try_bye() {
66
66
suffix=\\"\\\${PWD#\\"${ cwd } \\"}\\"
67
- [ \\"\\$PWD\\" = \\"${ cwd } $suffix\\" ] && return 1
67
+ [ \\"\\$PWD\\" = \\"${ cwd } \\ $suffix\\" ] && return 1
68
68
echo -e \\"\\033[31m${ bye_bye_msg } \\033[0m\\" >&2
69
69
${ undo . trim ( ) }
70
70
unset -f _pkgx_dev_try_bye
You can’t perform that action at this time.
0 commit comments