Skip to content

Commit

Permalink
feat(launcher): trim whitespace in browser name
Browse files Browse the repository at this point in the history
  • Loading branch information
dherges authored and dignifiedquire committed Nov 25, 2017
1 parent 99fd3f0 commit 871d46f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/launcher.js
Original file line number Diff line number Diff line change
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 871d46f

Please sign in to comment.