mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix fall-back to dev resource path in main
This commit is contained in:
@@ -133,7 +133,7 @@ parseCommandLine = ->
|
||||
if args['resource-path']
|
||||
devMode = true
|
||||
resourcePath = args['resource-path']
|
||||
resourcePath ?= devResourcePath if devMode
|
||||
resourcePath ?= devResourcePath if devMode
|
||||
|
||||
unless fs.statSyncNoException(resourcePath)
|
||||
resourcePath = path.dirname(path.dirname(__dirname))
|
||||
|
||||
Reference in New Issue
Block a user