|
|
|
@ -103,8 +103,8 @@ storage.crashSafeWriteFileLines = (filename, lines, callback = () => {}) => { |
|
|
|
|
readable.on('end', () => { |
|
|
|
|
stream.close(cb) |
|
|
|
|
}) |
|
|
|
|
readable.on('error', () => cb) |
|
|
|
|
stream.on('error', () => cb) |
|
|
|
|
readable.on('error', cb) |
|
|
|
|
stream.on('error', cb) |
|
|
|
|
} catch (err) { |
|
|
|
|
cb(err) |
|
|
|
|
} |
|
|
|
|