This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { exec } = require('./helpers') | |
const changedFile = (filename, partial) => exec( | |
`git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD`, | |
`Something went wrong reading last git-pulled files list.`, | |
true | |
).then((stdout) => stdout.split('\n') | |
.some((name) => { | |
let match | |
if (partial) { |