Skip to content

Commit

Permalink
IAC-597
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandar Kumanov <akumanov@vmware.com>
  • Loading branch information
akumanov-vmw committed Dec 7, 2023
1 parent a8c831d commit 72fd198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/vrdt-common/src/maven/MavenCliProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class MavenCliProxy {
const content = fs.readFileSync(filePath, { encoding: "utf8" })
const token = JSON.parse(content)

if (!token || !token.value || !token.expirationDate) {
if (!token || !token.value) {
throw new Error(`Missing or invalid token file: ${filePath}`)
}

Expand Down

0 comments on commit 72fd198

Please sign in to comment.