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) {
4343} else {
4444 const subcommand = parsedArgs . _ [ 0 ] ;
4545 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" ] ;
4749
4850 switch ( subcommand ) {
4951 case "integrate" :
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default async function (
6464 console . log ( `
6565 eval "_pkgx_dev_try_bye() {
6666 suffix=\\"\\\${PWD#\\"${ cwd } \\"}\\"
67- [ \\"\\$PWD\\" = \\"${ cwd } $suffix\\" ] && return 1
67+ [ \\"\\$PWD\\" = \\"${ cwd } \\ $suffix\\" ] && return 1
6868 echo -e \\"\\033[31m${ bye_bye_msg } \\033[0m\\" >&2
6969 ${ undo . trim ( ) }
7070 unset -f _pkgx_dev_try_bye
You can’t perform that action at this time.
0 commit comments