Skip to content

Commit

Permalink
Added directory check on edit
Browse files Browse the repository at this point in the history
  • Loading branch information
cgxeiji committed Dec 1, 2018
1 parent 57c34b8 commit 7ffd1e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ func edit(entry *scholar.Entry) {
}

yaml.Unmarshal(d, &entry)

checkDirKey(libraryPath(), key, entry)
}

func update(entry *scholar.Entry) {
Expand Down

0 comments on commit 7ffd1e0

Please sign in to comment.