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 25, 2018
1 parent a3c17cd commit c2e182d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/updatePatches.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ 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'))
.filter(s => s.length > 0 && !s.endsWith('.xtb') && !s.endsWith('.png') &&
!s.endsWith('.grd') && !s.endsWith('.grdp'))

let n = moddedFileList.length

Expand Down

0 comments on commit c2e182d

Please sign in to comment.