Skip to content

Commit 334f9fb

Browse files
dhergesdignifiedquire
authored andcommitted
feat(launcher): trim whitespace in browser name
1 parent e23c0d4 commit 334f9fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/launcher.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ var Launcher = function (server, emitter, injector) {
4343
this.launchSingle = function (protocol, hostname, port, urlRoot, upstreamProxy, processKillTimeout) {
4444
var self = this
4545
return function (name) {
46+
name = (name + '').trim();
4647
if (upstreamProxy) {
4748
protocol = upstreamProxy.protocol
4849
hostname = upstreamProxy.hostname

0 commit comments

Comments
 (0)