Comparing version 0.13.3 to 0.13.5
@@ -0,1 +1,2 @@ | ||
const fs = require('fs'); | ||
const util = require('util'); | ||
@@ -78,2 +79,6 @@ const path = require('path'); | ||
} | ||
// resolve symlink if needed | ||
if(fs.lstatSync(configPath).isSymbolicLink()) { | ||
configPath = fs.realpathSync(configPath); | ||
} | ||
} | ||
@@ -80,0 +85,0 @@ |
@@ -22,6 +22,5 @@ const fs = require('fs'); | ||
if (fs.existsSync(configPath)) { | ||
// traverse symlinks if needed | ||
return fs.realpathSync(path.resolve(configPath)); | ||
return path.resolve(configPath); | ||
} | ||
return null; | ||
}; |
{ | ||
"name": "liftoff", | ||
"description": "Launch your command line tool with ease.", | ||
"version": "0.13.3", | ||
"version": "0.13.5", | ||
"homepage": "https://github.com/tkellen/node-liftoff", | ||
@@ -6,0 +6,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1128067
22
249
4