Do this different

This commit is contained in:
Michelle Tilley
2017-09-21 14:55:19 -07:00
parent c52d517d13
commit 6227203de7

View File

@@ -67,7 +67,7 @@ module.exports = function parseCommandLine (processArgs) {
args = {
urlHandler: true,
'url-handler': true,
_: args._
_: args._.slice(0, 1)
}
}
@@ -125,14 +125,6 @@ module.exports = function parseCommandLine (processArgs) {
}
}
// When performing as a URL handler, only accept one URL and no paths
if (args.urlHandler) {
pathsToOpen = []
if (urlsToOpen.length > 1) {
urlsToOpen.length = 1
}
}
if (args['resource-path']) {
devMode = true
devResourcePath = args['resource-path']