File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ check_license() {
316316 fi
317317}
318318
319- # Check that files listed in install.yaml project_files/global_files contain exactly one #ddev-generated
319+ # Check that files listed in install.yaml project_files/global_files contain #ddev-generated
320320check_ddev_generated () {
321321 local install_yaml=" install.yaml"
322322
@@ -352,8 +352,6 @@ check_ddev_generated() {
352352 count=$( grep -c " #ddev-generated" " $dir_file " 2> /dev/null) || count=0
353353 if [[ " $count " -eq 0 ]]; then
354354 actions+=(" $dir_file (in directory $entry listed in install.yaml $section ) does not contain '#ddev-generated'" )
355- elif [[ " $count " -gt 1 ]]; then
356- actions+=(" $dir_file (in directory $entry listed in install.yaml $section ) should contain exactly one '#ddev-generated', found $count occurrences" )
357355 fi
358356 done < <( find " $entry " -type f -print0 2> /dev/null)
359357 continue
You can’t perform that action at this time.
0 commit comments