/
usr
/
local
/
lib
/
node_modules
/
nodemon
/
node_modules
/
has-yarn
/
/usr/local/lib/node_modules/nodemon/node_modules/has-yarn
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
448
0644
edit
dl
rm
index.js
268
0644
edit
dl
rm
license
1109
0644
edit
dl
rm
package.json
1693
0644
edit
dl
rm
readme.md
968
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/nodemon/node_modules/has-yarn/index.js
(268B)
'use strict'; const path = require('path'); const fs = require('fs'); const hasYarn = (cwd = process.cwd()) => fs.existsSync(path.resolve(cwd, 'yarn.lock')); module.exports = hasYarn; // TODO: Remove this for the next major release module.exports.default = hasYarn;
Save
'use strict'; const path = require('path'); const fs = require('fs'); const hasYarn = (cwd = process.cwd()) => fs.existsSync(path.resolve(cwd, 'yarn.lock')); module.exports = hasYarn; // TODO: Remove this for the next major release module.exports.default = hasYarn;