Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

Commit

Permalink
Make sure that deleting exercises works as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jun 28, 2020
1 parent cbb2a77 commit 6c6953e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/file/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (d *Data) Delete(username string) {
*d = *zeroData

// Remove the file to clear it.
err := os.Remove(filepath.Join(ConfigDir(), username+"exercises.json"))
err := os.Remove(filepath.Join(ConfigDir(), username+"-exercises.json"))
if err != nil {
fyne.LogError("Error on removing the json file", err)
}
Expand Down

0 comments on commit 6c6953e

Please sign in to comment.