1
0
Fork 0
mirror of synced 2026-06-05 10:58:19 +00:00
sonarcloud-github-action/test/assertFileDoesntExist

8 lines
No EOL
113 B
Bash
Executable file

#!/bin/bash
error() { echo -e "\\e[31m✗ $*\\e[0m"; }
if [ -f $1 ]; then
error "File '$1' found"
exit 1
fi