ensure log doesn't die if no file there
This commit is contained in:
parent
ce5128b244
commit
be054685ac
@ -7,7 +7,7 @@ module Unison
|
|||||||
super(*args)
|
super(*args)
|
||||||
|
|
||||||
@file = file
|
@file = file
|
||||||
@current_log_size = File.size(@file)
|
@current_log_size = File.exist?(@file) ? File.size(@file) : 0
|
||||||
|
|
||||||
self.plainText = INITIAL
|
self.plainText = INITIAL
|
||||||
self.readOnly = true
|
self.readOnly = true
|
||||||
|
Loading…
Reference in New Issue
Block a user