when changing to ESLint from CLIEgnine, i forgot to change
the outputFixes call. It's now async and takes a list of results.
fixes
7a730cb60189b4b2b4c0e167797d9aa1ccf15ea6
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
if (program.fix) {
if (fixes > 0) {
console.log(`Writing ${color.bold(fixes)} fixed files...`);
- eslint.ESLint.outputFixes({ results });
+ await eslint.ESLint.outputFixes(results);
console.log('Done');
} else {
console.log("No fixable Errors/Warnings found.");