Skip to content

Commit

Permalink
fixup! fixup! tools: implement markdown formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Sep 23, 2021
1 parent 263c230 commit 29dd80a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/lint-md/lint-md.mjs
Expand Up @@ -29178,7 +29178,7 @@ paths.forEach(async (path) => {
const file = await read(path);
const result = await linter.process(file);
if (format) {
fs.writeFileSync(path, String(result));
fs.writeFileSync(path, result.toString());
} else if (result.messages.length) {
process.exitCode = 1;
console.error(reporter(result));
Expand Down
2 changes: 1 addition & 1 deletion tools/lint-md/lint-md.src.mjs
Expand Up @@ -32,7 +32,7 @@ paths.forEach(async (path) => {
const file = await read(path);
const result = await linter.process(file);
if (format) {
fs.writeFileSync(path, String(result));
fs.writeFileSync(path, result.toString());
} else if (result.messages.length) {
process.exitCode = 1;
console.error(reporter(result));
Expand Down

0 comments on commit 29dd80a

Please sign in to comment.