mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Added safety check for prettier
This commit is contained in:
@@ -19,6 +19,7 @@ EOF
|
|||||||
}
|
}
|
||||||
echo "Installing dependencies..."
|
echo "Installing dependencies..."
|
||||||
npm install
|
npm install
|
||||||
|
npm install -g prettier
|
||||||
echo "Prettifing files..."
|
echo "Prettifing files..."
|
||||||
prettier $INPUT_PRETTIER_OPTIONS
|
prettier $INPUT_PRETTIER_OPTIONS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user