Skip to content

Commit

Permalink
Delete dead code path.
Browse files Browse the repository at this point in the history
Missed in f96df28
  • Loading branch information
jleyba committed Oct 8, 2015
1 parent f96df28 commit a42fa87
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions javascript/node/selenium-webdriver/firefox/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,6 @@ Binary.prototype.addArguments = function(var_args) {
* started subprocess.
*/
Binary.prototype.launch = function(profile) {
if (this.command_) {
throw Error('Firefox is already running');
}

var env = {};
Object.keys(this.env_).forEach(function(key) {
env[key] = this.env_[key];
Expand Down

0 comments on commit a42fa87

Please sign in to comment.