From f18a80caf33eb0f7ebeae0aecb229eb43a5ba151 Mon Sep 17 00:00:00 2001 From: Conrad Date: Fri, 24 Jan 2020 19:29:16 +0100 Subject: [PATCH] Removed unused ls --- entrypoint.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1233bcb..92d3f64 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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