Skip to content

Commit

Permalink
Revert changes that were thought to be fixes for prettier install issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Dec 10, 2024
1 parent dcc90d9 commit b9fe836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
- name: Prettify code!
shell: bash
run: >-
PATH=$GITHUB_WORKSPACE/node_modules/.bin:$PATH
PATH=$GITHUB_ACTION_PATH/node_modules/.bin:$PATH
${{ github.action_path }}/entrypoint.sh
env:
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
Expand Down
4 changes: 1 addition & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _git_changes() {
(
# PROGRAM
# Changing to the directory
cd "$GITHUB_WORKSPACE"
cd "$GITHUB_ACTION_PATH"

echo "Installing prettier..."

Expand All @@ -45,8 +45,6 @@ case $INPUT_WORKING_DIRECTORY in
;;
esac

echo "Working directory: $(pwd)"

case $INPUT_PRETTIER_VERSION in
false)
yarn add --silent prettier
Expand Down

0 comments on commit b9fe836

Please sign in to comment.