diff options
Diffstat (limited to 'build/generate-sri.js')
-rw-r--r-- | build/generate-sri.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/generate-sri.js b/build/generate-sri.js index 221873b8fe..47d02c4c3c 100644 --- a/build/generate-sri.js +++ b/build/generate-sri.js @@ -47,7 +47,7 @@ const files = [ } ] -files.forEach(file => { +for (const file of files) { fs.readFile(file.file, 'utf8', (err, data) => { if (err) { throw err @@ -61,4 +61,4 @@ files.forEach(file => { sh.sed('-i', new RegExp(`^(\\s+${file.configPropertyName}:\\s+["'])\\S*(["'])`), `$1${integrity}$2`, configFile) }) -}) +} |