/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/npm/node_modules/@npmcli/git/lib/is-clean.js
6 строк
222 B
Ruy Adorno
deps: upgrade npm to 7.10.0
17 апр 2021, 04:03
Не верифицирован
17 апр 2021, 04:03
9440565
Код
Авторство
О чём код?
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)