Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rage-against-the-pixel/unity-cli",
"version": "1.6.9",
"version": "1.7.0",
"description": "A command line utility for the Unity Game Engine.",
"author": "RageAgainstThePixel",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions src/license-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,12 +713,12 @@ export class LicensingClient {
}
else {
await this.exec([`--return-ulf`]);
}

const activeLicenses = await this.GetActiveEntitlements();
const activeLicenses = await this.GetActiveEntitlements();

if (activeLicenses.includes(licenseType)) {
throw new Error(`Failed to return license of type '${licenseType}'`);
if (activeLicenses.includes(licenseType)) {
throw new Error(`Failed to return license of type '${licenseType}'`);
}
}

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