Skip to content

Commit

Permalink
コマンドが見付からなかった時にエラーが出なくなっていた不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed Sep 29, 2014
1 parent b165733 commit 4905ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interpreter/interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ func InterpretStatement(statements *[][]StatementT, stdio *Stdio) (NextT, error)
m := errorStatusPattern.FindStringSubmatch(err.Error())
if m != nil {
ErrorLevel = m[1]
err = nil
} else {
ErrorLevel = "0"
ErrorLevel = "-1"
}
err = nil
} else {
ErrorLevel = "0"
}
Expand Down

0 comments on commit 4905ddc

Please sign in to comment.