Merge pull request #13843 from atom/mb-ns-fix-resource-path-flag

Respect the --resource-path flag
This commit is contained in:
Max Brunsfeld 2017-02-17 16:50:37 -08:00 committed by GitHub
commit 02a1010a76

View File

@ -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
}