Skip to content

Commit

Permalink
Potential fix for local vs global install detection
Browse files Browse the repository at this point in the history
  • Loading branch information
crisptrutski committed Nov 17, 2014
1 parent cd92fb1 commit 074cb6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jspm.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var jspmCLI = new Liftoff({
});
jspmCLI.launch({}, function(env) {
process.env.jspmConfigPath = env.configPath || '';
process.env.localJspm = true;
process.env.localJspm = !!env.modulePath;
if (env.modulePath) {
try {
require(path.resolve(env.modulePath, '../cli'));
Expand All @@ -46,4 +46,4 @@ jspmCLI.launch({}, function(env) {
else {
require('./cli');
}
});
});

0 comments on commit 074cb6b

Please sign in to comment.