Skip to content

Commit 7674730

Browse files
committed
fix: use list different instead of check
fix: remove unrequired change directory
1 parent cbb0a59 commit 7674730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
- name: Running Prettier
3636
id: prettier-run
3737
shell: bash
38-
run: cd $GITHUB_ACTION_PATH && echo "::set-output name=prettier-output::$(prettier --check --config ${{ inputs.config_path }} --ignore-path ${{ inputs.ignore_path }} --no-error-on-unmatched-pattern ${{ inputs.file_pattern }})"
38+
run: echo "::set-output name=prettier-output::$(prettier --list-different --config ${{ inputs.config_path }} --ignore-path ${{ inputs.ignore_path }} --no-error-on-unmatched-pattern ${{ inputs.file_pattern }})"
3939

4040
branding:
4141
icon: 'search'

0 commit comments

Comments
 (0)