Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
is-clean.js7 linesDownload Raw Back to lib
1const spawn = require('./spawn.js')
2
3module.exports = (opts = {}) =>
4  spawn(['status', '--porcelain=v1', '-uno'], opts)
5    .then(res => !res.stdout.trim().split(/\r?\n+/)
6      .map(l => l.trim()).filter(l => l).length)
7 
codekingpro/portable-devtools · Team Ai