Skip to content

Commit

Permalink
ignore grd/grdp files in updatePatches.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yrliou committed Jun 26, 2018
1 parent ccd5139 commit ff6d082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/updatePatches.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const updatePatches = (options) => {
let modifiedDiff = util.run('git', modifiedDiffArgs, runOptions)
let moddedFileList = modifiedDiff.stdout.toString()
.split('\n')
.filter(s => s.length > 0 && !s.endsWith('.xtb') && !s.endsWith('.png') && !s.includes('google_update_idl'))
.filter(s => s.length > 0 && !s.endsWith('.xtb') && !s.endsWith('.png') &&
!s.endsWith('.grd') && !s.endsWith('.grdp') &&
!s.includes('google_update_idl'))

let n = moddedFileList.length

Expand Down

0 comments on commit ff6d082

Please sign in to comment.