Write install receipts atomically
This commit is contained in:
parent
26fe9df9b2
commit
a8eb84812a
@ -118,7 +118,7 @@ class Tab < OpenStruct
|
|||||||
end
|
end
|
||||||
|
|
||||||
def write
|
def write
|
||||||
tabfile.write to_json
|
tabfile.atomic_write(to_json)
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s
|
def to_s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user