summaryrefslogtreecommitdiffstats
path: root/commands/convert.go
diff options
context:
space:
mode:
authorJoel Scoble <joel.scoble@outlook.com>2014-11-06 10:56:14 -0600
committerspf13 <steve.francia@gmail.com>2014-11-13 22:39:07 -0500
commit99463f6adf73b63e98350240d73cab116bcbb704 (patch)
treea56a44f0fe48639d1c542e11f4f3ecb6e1169892 /commands/convert.go
parent2c51bba0c30fd33252f7832c12aec5eb8cb35a20 (diff)
converted path 2 filepath
Diffstat (limited to 'commands/convert.go')
-rw-r--r--commands/convert.go4
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()