tweak optional chaining rule
This commit is contained in:
1 parent
58918f68fb
commit
0f6329997d
2 files changed
+2
-1
No files matched your search
@@ -14,6 +14,7 @@ function GetLatestPlayletLibVersionFromGithubReleases() as string
|
||||
if response.StatusCode() = 200
|
||||
headers = response.Headers()
|
||||
if headers.location <> invalid
|
||||
' bs:disable-next-line NO_OPTIONAL_CHAINING
|
||||
regex = /\/v?(\d+\.\d+\.\d+)/
|
||||
match = regex.match(headers.location)
|
||||
if match.Count() = 2
|
||||
|
||||
Reference in new issue
Block a user