From 10083bfe1be4ad33eb777bd9cbdaac813fc40fc5 Mon Sep 17 00:00:00 2001 From: Vulpovile Date: Sat, 11 Jan 2025 14:25:30 -0800 Subject: [PATCH] Fix jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c357a21..5e219c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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