converted path 2 filepath

This commit is contained in:
Joel Scoble
2014-11-06 10:56:14 -06:00
committed by spf13
parent 2c51bba0c3
commit 99463f6adf
3 changed files with 9 additions and 11 deletions

View File

@@ -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()