It is acutally not needed.
+++ /dev/null
-vm = require 'vm'
-
-# Execute the 'fs.js' and pass the 'exports' to it.
-source = '(function (exports, require, module, __filename, __dirname) { ' +
- process.binding('natives').originalFs +
- '\n});'
-fn = vm.runInThisContext source, { filename: 'fs.js' }
-fn exports, require, module
'atom/common/api/lib/crash-reporter.coffee',
'atom/common/api/lib/id-weak-map.coffee',
'atom/common/api/lib/native-image.coffee',
- 'atom/common/api/lib/original-fs.coffee',
'atom/common/api/lib/shell.coffee',
'atom/common/lib/init.coffee',
'atom/renderer/lib/chrome-api.coffee',