Skip to content

Commit 0ed2c64

Browse files
- don't call entailment check when returning floating license
1 parent 4e0e7af commit 0ed2c64

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rage-against-the-pixel/unity-cli",
3-
"version": "1.6.9",
3+
"version": "1.7.0",
44
"description": "A command line utility for the Unity Game Engine.",
55
"author": "RageAgainstThePixel",
66
"license": "MIT",

src/license-client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,12 +713,12 @@ export class LicensingClient {
713713
}
714714
else {
715715
await this.exec([`--return-ulf`]);
716-
}
717716

718-
const activeLicenses = await this.GetActiveEntitlements();
717+
const activeLicenses = await this.GetActiveEntitlements();
719718

720-
if (activeLicenses.includes(licenseType)) {
721-
throw new Error(`Failed to return license of type '${licenseType}'`);
719+
if (activeLicenses.includes(licenseType)) {
720+
throw new Error(`Failed to return license of type '${licenseType}'`);
721+
}
722722
}
723723

724724
this.logger.info(`Successfully returned license of type '${licenseType}'`);

0 commit comments

Comments
 (0)