Skip to content

Commit

Permalink
Fix missing headless flag
Browse files Browse the repository at this point in the history
  • Loading branch information
BaerMitUmlaut committed Oct 10, 2018
1 parent 89e0d78 commit aaccca3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions interfacer/src/browsh/firefox.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,9 @@ func versionOrdinal(version string) string {
func startWERFirefox() {
Log("Attempting to start headless Firefox with `web-ext`")
var rootDir = Shell("git rev-parse --show-toplevel")
firefoxBinary, isSet := os.LookupEnv("FIREFOX")
if !isSet {
firefoxBinary = "firefox"
}
args := []string{
"run",
"--firefox=" + firefoxBinary,
"--firefox=" + rootDir + "/webext/contrib/firefoxheadless.sh",
"--verbose",
"--no-reload",
}
Expand Down

0 comments on commit aaccca3

Please sign in to comment.