File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ function start(options: Options) {
130
130
// https://bugs.openjdk.java.net/browse/JDK-6202721
131
131
args . push ( '-Djava.security.egd=file:///dev/./urandom' ) ;
132
132
}
133
-
134
133
if ( options [ Opt . LOGGING ] . getString ( ) ) {
135
134
if ( path . isAbsolute ( options [ Opt . LOGGING ] . getString ( ) ) ) {
136
135
loggingFile = options [ Opt . LOGGING ] . getString ( ) ;
@@ -154,14 +153,14 @@ function start(options: Options) {
154
153
path . resolve ( outputDir , binaries [ GeckoDriver . id ] . executableFilename ( osType ) ) ) ;
155
154
}
156
155
if ( downloadedBinaries [ IEDriver . id ] != null ) {
157
- if ( options [ Opt . IE32 ] ) {
156
+ if ( options [ Opt . IE32 ] . getBoolean ( ) ) {
158
157
binaries [ IEDriver . id ] . arch = 'Win32' ;
159
158
}
160
159
args . push (
161
160
'-Dwebdriver.ie.driver=' +
162
161
path . resolve ( outputDir , binaries [ IEDriver . id ] . executableFilename ( osType ) ) ) ;
163
162
}
164
- if ( options [ Opt . EDGE ] ) {
163
+ if ( options [ Opt . EDGE ] && options [ Opt . EDGE ] . getString ( ) ) {
165
164
// validate that the file exists prior to adding it to args
166
165
try {
167
166
let edgeFile = options [ Opt . EDGE ] . getString ( ) ;
You can’t perform that action at this time.
0 commit comments