diff options
Diffstat (limited to 'commands/convert.go')
-rw-r--r-- | commands/convert.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/convert.go b/commands/convert.go index 434c6896f..2aa6da9dd 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -15,7 +15,7 @@ package commands import ( "fmt" - "path" + "path/filepath" "time" "github.com/spf13/cast" @@ -133,7 +133,7 @@ func convertContents(mark rune) (err error) { page.SetSourceMetaData(metadata, mark) if OutputDir != "" { - page.SaveSourceAs(path.Join(OutputDir, page.FullFilePath())) + page.SaveSourceAs(filepath.Join(OutputDir, page.FullFilePath())) } else { if Unsafe { page.SaveSource() |