From ff03145aacbf937308f20e32c9835ea2a049e518 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 13 Feb 2022 15:23:09 -0500 Subject: Fix build errors --- src/texec/eval.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/texec/eval.go b/src/texec/eval.go index 4cd643b..542fcf4 100644 --- a/src/texec/eval.go +++ b/src/texec/eval.go @@ -212,7 +212,7 @@ func getNodeRelative(s TArtifact) *tparse.Node { tmpmod := getModuleInPath(s) if tmpmod == nil { - continue + errOut(fmt.Sprintf("Failed to get module to resolve node: %v", s)) } for i := 0; i < len(tmpmod.Artifacts); i++ { @@ -232,7 +232,7 @@ func getModDefRelative(s TArtifact) *TVariable { tmpmod := getModuleInPath(s) if tmpmod == nil { - continue + errOut(fmt.Sprintf("Failed to get module to resolve artifact: %v", s)) } val, prs := tmpmod.Defs[s.Name] -- cgit v1.2.3