diff options
author | Kyle Gunger <kgunger@gmail.com> | 2022-02-13 15:23:09 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger@gmail.com> | 2022-02-13 15:23:09 -0500 |
commit | ff03145aacbf937308f20e32c9835ea2a049e518 (patch) | |
tree | f2999d83392ebce26065031c84e04be5f86f76a3 /src | |
parent | 90580b76d31cb8dd9282b3f7a2488c2ebf148299 (diff) |
Fix build errors
Diffstat (limited to 'src')
-rw-r--r-- | src/texec/eval.go | 4 |
1 files changed, 2 insertions, 2 deletions
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] |