Skip to content

Commit be9b6d6

Browse files
committed
Fix protos/cre/go grep
1 parent 8a7729f commit be9b6d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/validate-protos-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
found=0
2626
2727
while IFS= read -r gomod; do
28-
version=$(grep 'github.com/smartcontractkit/chainlink-protos/cre/go ' "$gomod" | head -1 | awk '{print $2}')
28+
version=$(grep 'github.com/smartcontractkit/chainlink-protos/cre/go ' "$gomod" | head -1 | awk '{print $2}' || true)
2929
if [[ -z "$version" ]]; then
3030
continue
3131
fi

0 commit comments

Comments
 (0)