Unverified Commit 4b7b5ed5 authored by Richard Si's avatar Richard Si Committed by GitHub
Browse files

Fix broken Action entrypoint (#2202)

parent 53168363
Loading
Loading
Loading
Loading
+2 −1
Changes for action/entrypoint.sh: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
#!/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