do not return and assign
This commit is contained in:
parent
98b4353ef8
commit
6f845373a7
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
// Make graceful-fs work with asar.
|
// Make graceful-fs work with asar.
|
||||||
var source = process.binding('natives')
|
var source = process.binding('natives')
|
||||||
source['original-fs'] = source.fs
|
source['original-fs'] = source.fs
|
||||||
return source['fs'] = `
|
source['fs'] = `
|
||||||
var nativeModule = new process.NativeModule('original-fs')
|
var nativeModule = new process.NativeModule('original-fs')
|
||||||
nativeModule.cache()
|
nativeModule.cache()
|
||||||
nativeModule.compile()
|
nativeModule.compile()
|
||||||
|
|
Loading…
Reference in a new issue