Skip to content

Commit

Permalink
Update validate-recipes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bberkeyU authored Nov 22, 2024
1 parent 133fffe commit b8318b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/validate-recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
print((results[i]).lower())
print((results[i]).lower().split())
if len((results[i]).lower().split()) > 0:
if len((results[i]).lower().split()) > 0 and "for" == (results[i]).lower().split()[0]:
if len((results[i]).lower()) > 0 and "for" == (results[i]).lower().split()[0]:
print(results[i])
forCount = int(results[i].split()[1])
startLine = i+1
for repeats in range(forCount):
for nextLine in range(len(results)-i):
if "endfor" == (results[startLine+nextLine]).lower().split()[0]:
print(
if len(results[startLine+nextLine])> 0 and "endfor" == (results[startLine+nextLine]).lower().split()[0]:
endline = startLine+nextLine+1
break
else:
Expand Down

0 comments on commit b8318b1

Please sign in to comment.