providers/import: use Document.Rel

This commit is contained in:
Sasha Koshka 2024-12-08 03:28:48 -05:00
parent 25541dadfe
commit 52b8b5a347

View File

@ -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 { }