Skip to content

Commit 6a7b2d0

Browse files
dcodecreyD
andauthored
Use npx to execute prettier (#145)
* fix: bumped version in readme * Use npx to execute prettier Fixes: #113 --------- Co-authored-by: Conrad <[email protected]>
1 parent af8ff24 commit 6a7b2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fi
6666
PRETTIER_RESULT=0
6767
echo "Prettifying files..."
6868
echo "Files:"
69-
prettier $INPUT_PRETTIER_OPTIONS \
69+
npx prettier $INPUT_PRETTIER_OPTIONS \
7070
|| { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; exit 1; } >> $GITHUB_STEP_SUMMARY
7171

7272
echo "Prettier result: $PRETTIER_RESULT"

0 commit comments

Comments
 (0)