providers/import: use Document.Rel
This commit is contained in:
parent
25541dadfe
commit
52b8b5a347
@ -44,6 +44,8 @@ func (this *state) funcPanic (message any) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *state) funcExecute (name string, data any) (step.ExecutionResult, 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)
|
document, err := this.document.Environment().Parse(name)
|
||||||
if err != nil { return step.ExecutionResult { }, err }
|
if err != nil { return step.ExecutionResult { }, err }
|
||||||
builder := strings.Builder { }
|
builder := strings.Builder { }
|
||||||
|
Loading…
Reference in New Issue
Block a user