diff --git a/src/atom.coffee b/src/atom.coffee index 500f5c3c2..2f1cfaffd 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -502,7 +502,7 @@ class Atom extends Model requireUserInitScript: -> if userInitScriptPath = @getUserInitScriptPath() try - require userInitScriptPath + require(userInitScriptPath) if fs.isFileSync(userInitScriptPath) catch error console.error "Failed to load `#{userInitScriptPath}`", error.stack, error