mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-12 17:31:15 +00:00
8 lines
No EOL
119 B
Bash
Executable file
8 lines
No EOL
119 B
Bash
Executable file
#!/bin/bash
|
|
|
|
error() { echo -e "\\e[31m✗ $*\\e[0m"; }
|
|
|
|
if [ ! -f $1 ]; then
|
|
error "File '$1' not found"
|
|
exit 1
|
|
fi |