Add missing require

This commit is contained in:
Kevin Sawicki
2014-10-16 16:13:23 -07:00
parent 6ed3ef3f60
commit 305b9bc030

View File

@@ -154,6 +154,7 @@ resolveModulePath = (relativePath, parentModule) ->
registerBuiltins = (devMode) ->
if devMode
fs = require 'fs-plus'
atomCoffeePath = path.join(cache.resourcePath, 'exports', 'atom.coffee')
cache.builtins.atom = atomCoffeePath if fs.isFileSync(atomCoffeePath)
cache.builtins.atom ?= path.join(cache.resourcePath, 'exports', 'atom.js')