| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ module.exports = { | |||
| 13 | 13 | task: () => | |
| 14 | 14 | getChangedFiles().then(files => { | |
| 15 | 15 | const errors = []; | |
| 16 | - const jsFiles = files.filter(file => | ||
| 16 | + const sassFiles = files.filter(file => | ||
| 17 | 17 | file.endsWith('.scss') | |
| 18 | 18 | ); | |
| 19 | 19 | const lint = (proc, batchedFiles) => | |
@@ -49,7 +49,7 @@ module.exports = { | |||
| 49 | 49 | return arr.reduce(batchFold, []); | |
| 50 | 50 | }; | |
| 51 | 51 | ||
| 52 | - return batch(jsFiles, getCpuCount()) | ||
| 52 | + return batch(sassFiles, getCpuCount()) | ||
| 53 | 53 | .reduce(lint, Promise.resolve()) | |
| 54 | 54 | .then(() => { | |
| 55 | 55 | if (errors.length) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments