Skip to content

Commit

Permalink
error when not all plugins used
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Aug 13, 2024
1 parent 4dca383 commit df889d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runEslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ try {
return possiblePluginString.startsWith(pluginString);
});
console.log(` ${pluginUsed ? '✔️' : '⚠️'} ${pluginString}`);
if (!pluginUsed) {
process.exitCode = 1;
}
}
});
}
Expand Down
4 changes: 4 additions & 0 deletions test/runEslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ try {
})

console.log(` ${pluginUsed ? '✔️' : '⚠️'} ${pluginString}`)

if (!pluginUsed) {
process.exitCode = 1
}
}
})
} catch {
Expand Down

0 comments on commit df889d9

Please sign in to comment.