Skip to content

Commit 3379aa8

Browse files
author
uzair-folio3
committed
Update index.ts
1 parent f49f64b commit 3379aa8

File tree

1 file changed

+1
-1
lines changed
  • packages/optimizely-sdk/lib/utils/semantic_version

1 file changed

+1
-1
lines changed

packages/optimizely-sdk/lib/utils/semantic_version/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export function compareVersion(conditionsVersion: string, userProvidedVersion: s
175175
}
176176
}
177177

178-
// check if user version contains release and target version contains build
178+
// check if user version contains release and target version does not
179179
if (isPreReleaseVersion(userProvidedVersion) && !isPreReleaseVersion(conditionsVersion)) {
180180
return -1;
181181
}

0 commit comments

Comments
 (0)