Add missing classes to darkmode, add #repo-files-table and mising tags #3
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -7,11 +7,11 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
// Check for spaces or mixed indentation
|
// Check for spaces or mixed indentation
|
||||||
sh '''
|
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."
|
echo "Error: Files contain spaces instead of tabs for indentation."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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."
|
echo "Error: Files contain mixed tabs and spaces for indentation."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user