bugfix: fix typo
This commit is contained in:
parent
bde47843bf
commit
3a19c5b3f7
@ -56,7 +56,7 @@ func (app *Application) removeGame(gm *game.Game) error {
|
|||||||
log.Error("failed to remove quotes\n")
|
log.Error("failed to remove quotes\n")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
log.Info("game %s: removing state file", gm.GetId())
|
log.Info("game %s: removing state file\n", gm.GetId())
|
||||||
stateFilename := path.Join(gameBaseDir, "state.json")
|
stateFilename := path.Join(gameBaseDir, "state.json")
|
||||||
if err := os.Remove(stateFilename); err != nil {
|
if err := os.Remove(stateFilename); err != nil {
|
||||||
if !errors.Is(err, os.ErrNotExist) {
|
if !errors.Is(err, os.ErrNotExist) {
|
||||||
|
Loading…
Reference in New Issue
Block a user