mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(build): remove eslint-plugin-file-progress usage + correct newlines for npm run check:custom-rules (#38938)
Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -651,7 +651,7 @@ function main() {
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`Checking ${files.length} files for Superset custom rules...\\n`);
|
||||
console.log(`Checking ${files.length} files for Superset custom rules...\n`);
|
||||
|
||||
files.forEach(file => {
|
||||
// Resolve the file path
|
||||
@@ -664,7 +664,7 @@ function main() {
|
||||
});
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`\\n${errorCount} errors, ${warningCount} warnings`);
|
||||
console.log(`\n${errorCount} errors, ${warningCount} warnings`);
|
||||
|
||||
if (errorCount > 0) {
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user