From 1f801142cde4dd0af3b816c1746d4bafdc639993 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Tue, 16 Aug 2022 19:29:08 +0200 Subject: [PATCH] Fixed typo in quality list --- dist/index.js | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 82dc552..28dc050 100644 --- a/dist/index.js +++ b/dist/index.js @@ -195,7 +195,7 @@ const IS_LINUX = process.platform === 'linux'; class DotnetQualityValidator { constructor(quality) { this.quality = quality; - this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'GA']; + this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'ga']; } validateQuality() { if (this.quality && !this.qualityOptions.includes(this.quality)) { diff --git a/src/installer.ts b/src/installer.ts index 3fa23da..ad40050 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -18,7 +18,7 @@ export class DotnetQualityValidator { constructor(quality: string) { this.quality = quality; - this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'GA']; + this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'ga']; } public validateQuality() {