mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-15 21:00:35 +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
|
# 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
|
set -eux
|
||||||
|
|
||||||
@@ -21,9 +21,7 @@ EOF
|
|||||||
echo "Installing prettier..."
|
echo "Installing prettier..."
|
||||||
npm install --silent --global prettier
|
npm install --silent --global prettier
|
||||||
echo "Prettifing files..."
|
echo "Prettifing files..."
|
||||||
prettier $INPUT_PRETTIER_OPTIONS || echo "Problem prettifing your files"
|
prettier $INPUT_PRETTIER_OPTIONS
|
||||||
|
|
||||||
ls
|
|
||||||
|
|
||||||
if ! git diff --quiet
|
if ! git diff --quiet
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user