mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-03 22:12:35 +00:00
2
main.go
2
main.go
@@ -313,7 +313,7 @@ func processFile(
|
||||
target = page
|
||||
}
|
||||
|
||||
attaches, err := mark.ResolveAttachments(api, target, ".", meta.Attachments)
|
||||
attaches, err := mark.ResolveAttachments(api, target, filepath.Dir(file), meta.Attachments)
|
||||
if err != nil {
|
||||
log.Fatalf(err, "unable to create/update attachments")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user