Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e6a774

Browse files
committed
#176 - hotfix
1 parent 8340687 commit 2e6a774

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎Internal/Init-SeDriver.ps1‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
}
88
$Driver = Get-SeDriver -Current -ErrorAction Stop
99

10-
if ($null -eq $Driver) {
10+
if ($null -ne $Driver) {
11+
return $Driver
12+
}
13+
else {
1114
Throw [System.ArgumentNullException]::new("An available Driver could not be found.")
1215
}
1316

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /