From 52b8b5a347f3b57546f19f4aa4935eecc7e5ddfa Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 8 Dec 2024 03:28:48 -0500 Subject: [PATCH] providers/import: use Document.Rel --- providers/import/import.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/import/import.go b/providers/import/import.go index a7f1a5b..accac10 100644 --- a/providers/import/import.go +++ b/providers/import/import.go @@ -44,6 +44,8 @@ func (this *state) funcPanic (message any) (string, error) { } func (this *state) funcExecute (name string, data any) (step.ExecutionResult, error) { + name, err := this.document.Rel(name) + if err != nil { return step.ExecutionResult { }, err } document, err := this.document.Environment().Parse(name) if err != nil { return step.ExecutionResult { }, err } builder := strings.Builder { }