mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Add missing require
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user