Skip to content
Myr

Merge pull request #360 from zhiyelee/refactor

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

refactor

authored by Zhiye Li · committed by Zhiye Li · parents 1ebf2a4, 5aa19a5 · Browse files · 1 file+1 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

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

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