Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
opt
/
nodejs-18
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
git
/
lib
/
//proc/212/root/opt/nodejs-18/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/is-clean.js
const spawn = require('./spawn.js') module.exports = (opts = {}) => spawn(['status', '--porcelain=v1', '-uno'], opts) .then(res => !res.stdout.trim().split(/\r?\n+/) .map(l => l.trim()).filter(l => l).length)