Skip to content

Commit f9a98c2

Browse files
check if version is valid
1 parent e7ffdb4 commit f9a98c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class UnitySetupInstance {
7373
}
7474
}
7575

76-
if ( $version -eq $null ) {
76+
if ( -not $this.Version ) {
7777
throw "Failed to find a valid version identifier for installation at $path!";
7878
}
7979

0 commit comments

Comments
 (0)