Browse Source

do not return and assign

Zeke Sikelianos 9 years ago
parent
commit
6f845373a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/common/asar_init.js

+ 1 - 1
lib/common/asar_init.js

@@ -9,7 +9,7 @@
     // Make graceful-fs work with asar.
     var source = process.binding('natives')
     source['original-fs'] = source.fs
-    return source['fs'] = `
+    source['fs'] = `
 var nativeModule = new process.NativeModule('original-fs')
 nativeModule.cache()
 nativeModule.compile()