Skip to content

Commit 89283b6

Browse files
committed
DISPLAY-1093: Fixed markdown lint command naming
1 parent 91e5506 commit 89283b6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
run: docker run --rm -v .:/app --workdir=/app node:18 npm install
203203

204204
- name: Markdown lint
205-
run: docker run --rm -v .:/app --workdir=/app node:18 npm run check-coding-standards
205+
run: docker run --rm -v .:/app --workdir=/app node:18 npm run coding-standards-check
206206

207207
apispec:
208208
runs-on: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ To attempt to automatically fix coding style issues
210210

211211
```shell
212212
docker run --rm -v .:/app --workdir=/app node:18 npm install
213-
docker run --rm -v .:/app --workdir=/app node:18 npm run apply-coding-standards
213+
docker run --rm -v .:/app --workdir=/app node:18 npm run coding-standards-apply
214214
```
215215

216216
## Tests

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
},
77
"scripts": {
88
"coding-standards-check/markdownlint": "markdownlint --ignore vendor --ignore node_modules '**/*.md'",
9-
"coding-standards-check": "yarn coding-standards-check/markdownlint",
9+
"coding-standards-check": "npm run coding-standards-check/markdownlint",
1010
"coding-standards-apply/markdownlint": "markdownlint --ignore vendor --ignore node_modules '**/*.md' --fix",
11-
"coding-standards-apply": "yarn coding-standards-apply/markdownlint"
11+
"coding-standards-apply": "npm run coding-standards-apply/markdownlint"
1212
}
1313
}

0 commit comments

Comments
 (0)