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