Skip to content

Commit 24e159b

Browse files
authored
Merge pull request #7003 from snyk/chore/add_formatting-for-docs
chore(ci): extend formatting for help
2 parents c3af54c + 1e581cb commit 24e159b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/sync-cli-help-to-user-docs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ jobs:
6161
run: |
6262
cp ./user-docs/developer-tools/snyk-cli/commands/*.md ./cli/help/cli-commands/
6363
64-
- name: Format help files with Prettier
65-
run: |
66-
cd ./cli
67-
npx prettier --write ./help/cli-commands/*.md
64+
- name: Format with Prettier
65+
run: npx prettier --write '**/*.md'
66+
working-directory: cli
6867

6968
- name: Check for changes
7069
id: check_changes

0 commit comments

Comments
 (0)