Added safety check for prettier

This commit is contained in:
2020-01-10 17:29:20 +01:00
parent 8725096bfe
commit a25587b000

View File

@@ -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