mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 14:45:09 +00:00
Fixed typo in quality list
This commit is contained in:
parent
dd8accf3a7
commit
1f801142cd
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -195,7 +195,7 @@ const IS_LINUX = process.platform === 'linux';
|
|||||||
class DotnetQualityValidator {
|
class DotnetQualityValidator {
|
||||||
constructor(quality) {
|
constructor(quality) {
|
||||||
this.quality = quality;
|
this.quality = quality;
|
||||||
this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'GA'];
|
this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'ga'];
|
||||||
}
|
}
|
||||||
validateQuality() {
|
validateQuality() {
|
||||||
if (this.quality && !this.qualityOptions.includes(this.quality)) {
|
if (this.quality && !this.qualityOptions.includes(this.quality)) {
|
||||||
|
@ -18,7 +18,7 @@ export class DotnetQualityValidator {
|
|||||||
|
|
||||||
constructor(quality: string) {
|
constructor(quality: string) {
|
||||||
this.quality = quality;
|
this.quality = quality;
|
||||||
this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'GA'];
|
this.qualityOptions = ['daily', 'signed', 'validated', 'preview', 'ga'];
|
||||||
}
|
}
|
||||||
|
|
||||||
public validateQuality() {
|
public validateQuality() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user