Skip to content

Commit

Permalink
Merge pull request #82 from brave/ignore-xtb
Browse files Browse the repository at this point in the history
Ignore xtb files when creating patches
  • Loading branch information
bbondy authored Feb 28, 2018
2 parents 7e09877 + a7b3d30 commit 9610d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/commands/lib/updatePatches.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const updatePatches = (options) => {
// grab Modified (and later Deleted) files but not Created (since we copy those)
const modifiedDiffArgs = ['diff', '--diff-filter=M', '--name-only', '--ignore-space-at-eol']
let modifiedDiff = util.run('git', modifiedDiffArgs, runOptions)
let moddedFileList = modifiedDiff.stdout.toString().split('\n').filter(s => s.length > 0)
let moddedFileList = modifiedDiff.stdout.toString()
.split('\n')
.filter(s => s.length > 0 && !s.endsWith('.xtb'))

let n = moddedFileList.length

Expand Down

0 comments on commit 9610d12

Please sign in to comment.