Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
Kenji Miyake committed Aug 31, 2022
1 parent 41f864f commit ece80ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spell-check/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ runs:

- name: Prepare local dictionary
run: |
echo "{}" > local.cspell.json
cp ${{ inputs.local-cspell-json }} local.cspell.json || true
if [ -f "${{ inputs.local-cspell-json }}" ]; then
cp ${{ inputs.local-cspell-json }} local.cspell.json || true
else
echo "No local dictionary found."
echo "{}" > local.cspell.json
fi
shell: bash

- name: Create combined dictionary
Expand Down

0 comments on commit ece80ed

Please sign in to comment.