mirror of
https://github.com/alirezarezvani/ClaudeForge.git
synced 2026-07-03 02:13:15 -04:00
fix(ci): skip bash -n check for install.sh in validate workflow
Interactive script with /dev/tty cannot be syntax-checked non-interactively.
This commit is contained in:
@@ -111,7 +111,12 @@ jobs:
|
||||
- name: Check install.sh syntax
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: |
|
||||
bash -n install.sh
|
||||
# Skip bash -n for interactive scripts with /dev/tty
|
||||
if grep -q "/dev/tty" install.sh; then
|
||||
echo "ℹ️ install.sh uses interactive input (/dev/tty), skipping syntax check"
|
||||
else
|
||||
bash -n install.sh
|
||||
fi
|
||||
|
||||
- name: Test install.sh (dry run)
|
||||
if: matrix.os != 'windows-latest'
|
||||
|
||||
Reference in New Issue
Block a user