Fix jenkinsfile
Some checks failed
Flare Microsystems Git/FlarePublic/gitea-themes/pipeline/pr-master There was a failure building this commit

This commit is contained in:
Vulpovile
2025-01-11 14:25:30 -08:00
parent c8aceafbd9
commit 10083bfe1b

4
Jenkinsfile vendored
View File

@@ -7,11 +7,11 @@ pipeline {
script {
// Check for spaces or mixed indentation
sh '''
if grep -P "^[ ]+" -r path/to/your/css/files; then
if grep -P "^[ ]+" -r ./**/*.css; then
echo "Error: Files contain spaces instead of tabs for indentation."
exit 1
fi
if grep -P "^\\t+ +" -r path/to/your/css/files; then
if grep -P "^\\t+ +" -r ./**/*.css; then
echo "Error: Files contain mixed tabs and spaces for indentation."
exit 1
fi