Merge "Account for "validations:""

This commit is contained in:
Treehugger Robot
2021-11-23 22:12:26 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ function getDeps() {
$0 ~ /^\S\S*:$/ { $0 ~ /^\S\S*:$/ {
inoutput = 0 inoutput = 0
} }
$1 == "validations:" {
inoutput = 0
}
inoutput != 0 { inoutput != 0 {
print gensub(/^\s*/, "", "g")" "depth print gensub(/^\s*/, "", "g")" "depth
} }

View File

@@ -100,7 +100,7 @@ function getDeps() {
currFileName = "" currFileName = ""
currExt = "" currExt = ""
} }
$1 == "outputs:" { $1 == "outputs:" || $1 == "validations:" {
ininput = 0 ininput = 0
} }
ininput == 0 && $0 ~ /^\S\S*:$/ { ininput == 0 && $0 ~ /^\S\S*:$/ {