Fix broken Action entrypoint (#2202)
This commit is contained in:
parent
5316836393
commit
4b7b5ed5b8
@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash -e
|
#!/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.'
|
echo '::warning::Input `with.black_args` is deprecated. Use `with.options` and `with.src` instead.'
|
||||||
black $INPUT_BLACK_ARGS
|
black $INPUT_BLACK_ARGS
|
||||||
exit $?
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
black $INPUT_OPTIONS $INPUT_SRC
|
black $INPUT_OPTIONS $INPUT_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user