mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Respect the --resource-path flag
This commit is contained in:
@@ -106,14 +106,14 @@ module.exports = function parseCommandLine (processArgs) {
|
||||
|
||||
if (args['resource-path']) {
|
||||
devMode = true
|
||||
resourcePath = args['resource-path']
|
||||
devResourcePath = args['resource-path']
|
||||
}
|
||||
|
||||
if (test) {
|
||||
devMode = true
|
||||
}
|
||||
|
||||
if (devMode && !resourcePath) {
|
||||
if (devMode) {
|
||||
resourcePath = devResourcePath
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user