Merge pull request #23 from michielboekhoff/fix-self-import

Fixed self-import.
This commit is contained in:
Sung Won Cho 2017-04-28 09:50:06 +10:00 committed by GitHub
commit bd62bb6dca
2 changed files with 2 additions and 4 deletions

View file

@ -48,7 +48,7 @@ func writeNote(note utils.Note) error {
dnote[book] = []utils.Note{note}
}
err := utils.WriteDnote(dnote)
err = utils.WriteDnote(dnote)
if err != nil {
return err
}

View file

@ -12,8 +12,6 @@ import (
"strconv"
"time"
"github.com/dnote-io/cli/utils"
"gopkg.in/yaml.v2"
)
@ -176,7 +174,7 @@ func WriteDnote(dnote Dnote) error {
return err
}
notePath, err := utils.GetDnotePath()
notePath, err := GetDnotePath()
if err != nil {
return err
}