Skip to content

Commit

Permalink
update output
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Oct 18, 2024
1 parent 6a9904e commit bfa25f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
name: Run markdown checks
id: markdown_check
run: |
OUTPUT=$(npm run test:md || true)
echo "markdown_output=$OUTPUT" >> $GITHUB_OUTPUT
ERRORS=$(npm run test:md)
echo "markdown_output=$ERRORS" >> $GITHUB_OUTPUT
# Post a comment using sticky-pull-request-comment
- name: Comment on PR with markdown issues
Expand Down
2 changes: 1 addition & 1 deletion scripts/markdown/check-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function checkMarkdownFiles(folderPath, validateFunction, relativePath = '') {
const errors = validateFunction(frontmatter);
if (errors) {
console.error(`Errors in file ${relativeFilePath}:`);
errors.forEach(error => console.error(` - ${error}`));
errors.forEach(error => console.log(` - ${error}`));
}
}
});
Expand Down

0 comments on commit bfa25f9

Please sign in to comment.