Skip to content

Commit

Permalink
Fixing history loading if history file doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wright authored and Steve Dekorte committed Jan 11, 2008
1 parent e422433 commit 1953294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/iovm/io/Z_CLI.io
Expand Up @@ -43,7 +43,9 @@ CLI := Object clone do(
)

loadHistory := method(
lineReader ?loadHistory(ioHistoryFile)
if(File with(ioHistoryFile) exists,
lineReader ?loadHistory(ioHistoryFile)
)
)

run := method(
Expand Down

0 comments on commit 1953294

Please sign in to comment.