Merge pull request #107 from github/hashtagchris-runs-on

Remove warnings for the `SuggestedValues` provider (i.e. `runs-on`)
This commit is contained in:
Chris Sidi
2023-01-31 12:42:57 -05:00
committed by GitHub
3 changed files with 5 additions and 37 deletions
+1 -7
View File
@@ -150,13 +150,7 @@ function invalidValue(diagnostics: Diagnostic[], token: StringToken, kind: Value
});
break;
case ValueProviderKind.SuggestedValues:
diagnostics.push({
message: `Value '${token.value}' might not be valid`,
severity: DiagnosticSeverity.Warning,
range: mapRange(token.range)
});
break;
// no messages for SuggestedValues
}
}