mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Removed unused ls
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh -l
|
||||
#!/bin/sh
|
||||
# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set, x is for showing the commands before they are executed
|
||||
set -eux
|
||||
|
||||
@@ -21,9 +21,7 @@ EOF
|
||||
echo "Installing prettier..."
|
||||
npm install --silent --global prettier
|
||||
echo "Prettifing files..."
|
||||
prettier $INPUT_PRETTIER_OPTIONS || echo "Problem prettifing your files"
|
||||
|
||||
ls
|
||||
prettier $INPUT_PRETTIER_OPTIONS
|
||||
|
||||
if ! git diff --quiet
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user