From 334f9fbe353f42d5232aeaf07d2ad1de075220d6 Mon Sep 17 00:00:00 2001 From: David Herges Date: Fri, 24 Nov 2017 15:08:36 +0100 Subject: [PATCH] feat(launcher): trim whitespace in browser name --- lib/launcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/launcher.js b/lib/launcher.js index be15dcf56..56292e1bf 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -43,6 +43,7 @@ var Launcher = function (server, emitter, injector) { this.launchSingle = function (protocol, hostname, port, urlRoot, upstreamProxy, processKillTimeout) { var self = this return function (name) { + name = (name + '').trim(); if (upstreamProxy) { protocol = upstreamProxy.protocol hostname = upstreamProxy.hostname