Skip to content

Commit

Permalink
Don't use the npm bin command to resolve the bin path
Browse files Browse the repository at this point in the history
  • Loading branch information
tropictim committed Feb 17, 2023
1 parent dc62bca commit 191599d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ runs:
- name: Prettify code!
shell: bash
run: >-
PATH=$(cd $GITHUB_ACTION_PATH; npm bin):$PATH
PATH=$GITHUB_ACTION_PATH/node_modules/.bin:$PATH
${{ github.action_path }}/entrypoint.sh
env:
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
Expand Down

0 comments on commit 191599d

Please sign in to comment.