Remove unused support for reading spell check files from pipe input

This is breaking the github workflow, and isn't used anywhere
This commit is contained in:
Nyall Dawson 2025-09-25 14:47:37 +10:00
parent 6209228ddd
commit 3108241be9
No known key found for this signature in database
GPG Key ID: AEA7D60D3DF12896

View File

@ -62,23 +62,14 @@ done
shift $((OPTIND - 1))
# check if file list is provided
# * from a pipe or from a file
# * from ALL_CHANGED_FILES env var
# * from command line parameters
if [ -p /dev/stdin ] || [ ! -t 0 ]; then
# read from pipe input or file
read SCRIPT_INPUT
if [ -z "$SCRIPT_INPUT" ]; then
exit 0
fi
if [ -z "$ALL_CHANGED_FILES" ]; then
# read from command line parameters
SCRIPT_INPUT="$@"
else
if [ -z "$ALL_CHANGED_FILES" ]; then
# read from command line parameters
SCRIPT_INPUT="$@"
else
# read from env var
SCRIPT_INPUT="$ALL_CHANGED_FILES"
fi
# read from env var
SCRIPT_INPUT="$ALL_CHANGED_FILES"
fi
if [ -n "$SCRIPT_INPUT" ]; then