X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5316836393682c6ec6a05d69c549d8167f46d8f6..3bba8081735925ccd95d8e0ccd26c92e08e0b7a9:/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