diff --git a/index.js b/index.js index 23d060c..ec981e4 100644 --- a/index.js +++ b/index.js @@ -91,7 +91,7 @@ class Installer { // There's some Specialâ„¢ logic around the `--prefix` config when it // comes from a config file or env vs when it comes from the CLI : process.argv.some(arg => arg.match(/^\s*--prefix\s*/i)) - ? this.config.get('prefix') + ? BB.resolve(this.config.get('prefix')) : getPrefix(process.cwd()) ) .then(prefix => {