Skip to content

Commit 4d6c140

Browse files
[STYLE] minor fixed to workflow for PR #227
Changes in file .github/workflows/markdown-lint.yml: - fixed line numbers and stuff
1 parent 89c0835 commit 4d6c140

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/markdown-lint.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,18 @@ jobs:
4040
printf "::error %s%s\n" "${ERR_LOC}" "title=VALIDATION_ERROR::ERROR ${ERR_MSG_STUB}"
4141
exit 1
4242
else
43-
printf "::notice file=.github/workflows/markdown-lint.yml,"\
44-
"line=45,endLine=49,title=Validation::Validating workflow with args: %s\n" \
43+
printf "::notice file=.github/workflows/markdown-lint.yml,%s %s\n" \
44+
"line=36,endLine=47,title=Validation::Validating workflow with args:" \
4545
"${YAML_ARGS}"
4646
read -ra ARGS <<< "${YAML_ARGS}"
4747
yamllint "${ARGS[@]}" .github/workflows/markdown-lint.yml
4848
fi
4949
5050
- name: Install NPM Dependencies
5151
run: |
52+
# npm install
5253
ERR_MSG="NPM package installation failed"
53-
ERR_LOC_1="file=.github/workflows/markdown-lint.yml,line=57,endLine=57"
54+
ERR_LOC_1="file=.github/workflows/markdown-lint.yml,line=56,endLine=56"
5455
ERR_LOC_2="file=package.json,line=2,endLine=4"
5556
if ! NPM_ERROR=$(npm install 2>&1); then
5657
for LOC in "${ERR_LOC_1}" "${ERR_LOC_2}"; do

0 commit comments

Comments
 (0)