Skip to content

Commit

Permalink
Fixed #116
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Dec 12, 2021
1 parent 79f033d commit b7ce82f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh -l

set -euxo pipefail
set -ex

sh -c "/root/.composer/vendor/bin/phplint $*"
if [ ! -z "$INPUT_PATH" ]; then
/root/.composer/vendor/bin/phplint $INPUT_PATH $INPUT_OPTIONS
else
sh -c "/root/.composer/vendor/bin/phplint $*"
fi

0 comments on commit b7ce82f

Please sign in to comment.