mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 07:39:57 +02:00
Enable unicorn/no-array-for-each
rule
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user