From ff6d082eab061d46e8539f42e0bb17a36f2cc989 Mon Sep 17 00:00:00 2001 From: Jocelyn Liu Date: Mon, 25 Jun 2018 08:55:20 -0700 Subject: [PATCH] ignore grd/grdp files in updatePatches.js --- lib/updatePatches.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/updatePatches.js b/lib/updatePatches.js index 5b01a0fb3916..6c4dc293bae0 100644 --- a/lib/updatePatches.js +++ b/lib/updatePatches.js @@ -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