Skip to content
Myr

add quick .runningCommand hack so you can opt-out of other logic when running a sub command

Before adoption: this commit came in with the history the project adopted, so no landing records it.

lame...

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 97b7cbd · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:index.js+2 added
416 unmodified lines
417 } else if (err.code == "EACCES") {418 console.error('\n %s(1) not executable. try chmod or run with root\n', bin);419 }420 });421422 this.runningCommand = proc;423};424425/**426 * Normalize `args`, splitting joined short flags. For example
731 unmodified lines