Merge pull request #107 from github/hashtagchris-runs-on
Remove warnings for the `SuggestedValues` provider (i.e. `runs-on`)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user