]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix a typo
authorIndrek Ardel <indrek@ardel.eu>
Sat, 19 Sep 2015 18:17:23 +0000 (21:17 +0300)
committerIndrek Ardel <indrek@ardel.eu>
Sat, 19 Sep 2015 18:17:23 +0000 (21:17 +0300)
atom/common/lib/asar.coffee

index 900a686d44a2d3f7c81cf40ec4b43a36180fcb4e..22d0e70b34fa4347365b9ab116eb828894c72cbb 100644 (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'