X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5316836393682c6ec6a05d69c549d8167f46d8f6..a4e35b314977baae2e930abd24fa1013c7235e39:/action/entrypoint.sh 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