diff options
Diffstat (limited to 'node_modules/is-installed-globally/index.js')
-rw-r--r-- | node_modules/is-installed-globally/index.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/is-installed-globally/index.js b/node_modules/is-installed-globally/index.js deleted file mode 100644 index 7fefcda..0000000 --- a/node_modules/is-installed-globally/index.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; -const fs = require('fs'); -const globalDirs = require('global-dirs'); -const isPathInside = require('is-path-inside'); - -module.exports = (() => { - try { - return ( - isPathInside(__dirname, globalDirs.yarn.packages) || - isPathInside(__dirname, fs.realpathSync(globalDirs.npm.packages)) - ); - } catch { - return false; - } -})(); |