From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Thu, 6 May 2021 19:21:13 +0000 (-0400) Subject: Fix broken Action entrypoint (#2202) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/4b7b5ed5b8630a906e2ef3a405134131651a251e?ds=sidebyside Fix broken Action entrypoint (#2202) --- diff --git a/action/entrypoint.sh b/action/entrypoint.sh index fc66e24..30bf4eb 100755 --- a/action/entrypoint.sh +++ b/action/entrypoint.sh @@ -1,8 +1,9 @@ #!/bin/bash -e -if [ -n $INPUT_BLACK_ARGS ]; then +if [ -n "$INPUT_BLACK_ARGS" ]; then echo '::warning::Input `with.black_args` is deprecated. Use `with.options` and `with.src` instead.' black $INPUT_BLACK_ARGS exit $? +fi black $INPUT_OPTIONS $INPUT_SRC