File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,15 +237,15 @@ jobs:
237237 OUTPUT=$(append_source_to_file "$SHELL_CONFIG" '. "$HOME/.vite-plus/env"' 2>&1) || RESULT=$?
238238 test "$RESULT" -eq 3
239239 echo "$OUTPUT" | grep -F "trace"
240- echo "$OUTPUT" | grep -F "Vite+ cannot write "
240+ echo "$OUTPUT" | grep -F "permission denied "
241241
242242 CI=false
243243 unset VP_LOG
244244 RESULT=0
245245 OUTPUT=$(append_source_to_file "$SHELL_CONFIG" '. "$HOME/.vite-plus/env"' 2>&1) || RESULT=$?
246246 test "$RESULT" -eq 3
247247 echo "$OUTPUT" | grep -F "warn"
248- echo "$OUTPUT" | grep -F "Vite+ cannot write "
248+ echo "$OUTPUT" | grep -F "permission denied "
249249
250250 - name : Incomplete directory overrides are rejected
251251 run : |
@@ -542,7 +542,7 @@ jobs:
542542 # CI gets PATH from the runner environment.
543543 # VP_LOG=trace shows shell file errors.
544544 # Normal output does not show these errors.
545- if echo "$output" | grep -Eqi "Vite[+] cannot (write|create) |Shell configuration:|Some shells still need manual setup"; then
545+ if echo "$output" | grep -Eqi "permission denied |Shell configuration:|Some shells still need manual setup"; then
546546 echo "Installer printed shell configuration details in CI"
547547 exit 1
548548 fi
You can’t perform that action at this time.
0 commit comments