Join github and atom dirs

This commit is contained in:
Kevin Sawicki
2013-05-28 11:05:46 -07:00
parent b015b8bd2b
commit a081c47efa

View File

@@ -8,7 +8,7 @@ atomApplication = null
delegate.browserMainParts.preMainMessageLoopRun = ->
commandLineArgs = parseCommandLine()
require('module').globalPaths.push(path.join(commandLineArgs.resourcePath, "src"))
require('module').globalPaths.push(path.join(commandLineArgs.resourcePath, 'src'))
AtomApplication = require('atom-application')
atomApplication = new AtomApplication(commandLineArgs)
@@ -25,7 +25,7 @@ parseCommandLine = ->
if args['resource-path']
resourcePath = args['resource-path']
else if args['dev']
resourcePath = path.join(getHomeDir(), 'github/atom')
resourcePath = path.join(getHomeDir(), 'github', 'atom')
try
fs.statSync resourcePath