mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Convert resolve real paths of npm -g root. [closes #116]
Former-commit-id: 0379fdf33da465fbb9ac78ddaa9e820b9b3e9987
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
process.exit();
|
||||
}
|
||||
// exit early if not a global install
|
||||
if (path.resolve(basePath, '..') != stdout.trim()) {
|
||||
if (path.resolve(basePath, '..') != fs.realpathSync(stdout.trim())) {
|
||||
return;
|
||||
}
|
||||
// download the Closure Compiler
|
||||
|
||||
Reference in New Issue
Block a user