Skip to content

Commit

Permalink
chore: fix lint-staged script
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jun 10, 2020
1 parent 2ab3d1c commit d36db2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meteor/lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function chunkWrapAndRun(commands, fileNames) {
for (var i = 0; i < fileCount; i = i + 10) {
const chunk = fileNames.slice(i, i + 10)
const wrappedAndJoined = chunk.map((fileName) => `"${fileName}"`).join(' ')
result = result.concat(result.map((command) => `${command} ${wrappedAndJoined}`))
result = result.concat(commands.map((command) => `${command} ${wrappedAndJoined}`))
}
return result
}
Expand Down

0 comments on commit d36db2a

Please sign in to comment.