/
usr
/
local
/
lib
/
node_modules
/
nodemon
/
node_modules
/
is-yarn-global
/
/usr/local/lib/node_modules/nodemon/node_modules/is-yarn-global
mkdir
upload
Name
Size
Mode
Actions
.travis.yml
43
0644
edit
dl
rm
index.js
309
0644
edit
dl
rm
LICENSE
1065
0644
edit
dl
rm
package.json
1474
0644
edit
dl
rm
README.md
769
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/nodemon/node_modules/is-yarn-global/index.js
(309B)
'use strict'; const path = require('path'); module.exports = function () { const isWindows = process.platform === 'win32'; const yarnPath = isWindows ? path.join('Yarn', 'config', 'global') : path.join('.config', 'yarn', 'global'); if (__dirname.includes(yarnPath)) { return true; } return false; };
Save
cmd:
run