Merge "Account for "validations:""

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

View file

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

View file

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