File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 91
91
# Check for participants info in app.js
92
92
file="src/static/app.js"
93
93
keyphrase='participant'
94
- minimum_occurences=5
94
+ minimum_occurences=3
95
95
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
96
96
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
97
97
checks=$(echo $checks | jq '.app_js.passed = false')
@@ -101,7 +101,7 @@ jobs:
101
101
# Check for participants info in styles.css
102
102
file="src/static/styles.css"
103
103
keyphrase='participant'
104
- minimum_occurences=2
104
+ minimum_occurences=1
105
105
found_occurences=$(grep -o "$keyphrase" "$file" | wc -l)
106
106
if [ "$found_occurences" -lt "$minimum_occurences" ]; then
107
107
checks=$(echo $checks | jq '.styles_css.passed = false')
You can’t perform that action at this time.
0 commit comments