dashboard
repositories
filestore
activity
search
login
main
/
testApp
在线考试教育APP
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
提交
马宇豪
2024-08-14
e3172de7866b5d04e4d3a4d5eea400c7b3eea227
[testApp.git]
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
git
/
lib
/
is-clean.js
1
2
3
4
5
6
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)