Skip to content
Myr

add tests for global install

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

authored by zhiyelee · committed by zhiyelee · parent 2fb791a · Browse files · 4 files+12 added−1 removed
This commit

State

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

Diff stats

4 files+12 added−1 removed

  • tests:+11 added−0 removed
  • other:+1 added−1 removed

4 files+12 added−1 removed

modified:test/test.command.executableSubcommand.js+7 added
modified:index.js+1 added-1 removed
470 unmodified lines
471472 // executable473 var f = argv[1];474 var link = readlink(f);475 if (link.indexOf('.') === 0) {475 if (link !== f) {476 link = path.join(dirname(f), link)477 }478 var dir = dirname(link);479 var bin = basename(f, '.js') + '-' + args[0];
574 unmodified lines