Fix a typo

This commit is contained in:
Indrek Ardel 2015-09-19 21:17:23 +03:00
parent 7bb9595b81
commit c626ee6e92

View file

@ -329,7 +329,7 @@ exports.wrapFsWithAsar = (fs) ->
buffer = new Buffer(info.size)
fd = archive.getFd()
retrun undefined unless fd >= 0
return undefined unless fd >= 0
fs.readSync fd, buffer, 0, info.size, info.offset
buffer.toString 'utf8'