Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(launcher): trim whitespace in browser name
  • Loading branch information
dherges authored and dignifiedquire committed Nov 24, 2017
1 parent e23c0d4 commit 334f9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/launcher.js
Expand Up @@ -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
Expand Down

0 comments on commit 334f9fb

Please sign in to comment.