We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 881d369 commit a2f2ffdCopy full SHA for a2f2ffd
scripts/lint/index.cjs
@@ -126,10 +126,14 @@ async function editorconfigChecker() {
126
header(linter);
127
try {
128
const dryRun = await execP(cmd + " --dry-run");
129
+ const lines = dryRun.stdout.trim().split(/\n\r?/g);
130
+ // EC logs when new exe is downloaded.
131
+ // See https://github.com/editorconfig-checker/editorconfig-checker.javascript/blob/922e3680544a7a8783c759995e9facb94ba79511/src/index.ts#L12
132
+ if (lines[0].startsWith("Downloading ")) {
133
+ console.log(` ${lines.shift()}`);
134
+ }
135
console.log(
- dryRun.stdout
- .trim()
- .split(/\n\r?/g)
136
+ lines
137
.map((line, index, arr) => {
138
const l = arr.length;
139
const counter = `${pad(index + 1, String(l).length)}/${l}`;
0 commit comments