Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
an alias is a change
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 6, 2015
1 parent 6a2f449 commit dbab989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions npm.js
Expand Up @@ -539,6 +539,7 @@ NPMLocation.prototype = {

// first check if this is an alias
if (aliases[relPath]) {
changed = true;
dep = path.relative(path.dirname(filename), aliases[relPath]);
if (dep.substr(0, 1) != '.')
dep = './' + dep;
Expand Down

0 comments on commit dbab989

Please sign in to comment.