1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

pin to v1.0.0 of github action parser

This commit is contained in:
Casey Lee 2019-02-06 22:36:08 -08:00
parent 9c3a288946
commit eb25b2a615
116 changed files with 9431 additions and 3576 deletions

View file

@ -1,15 +1,15 @@
package parser
type OptionFunc func(*parseState)
type OptionFunc func(*Parser)
func WithSuppressWarnings() OptionFunc {
return func(ps *parseState) {
return func(ps *Parser) {
ps.suppressSeverity = WARNING
}
}
func WithSuppressErrors() OptionFunc {
return func(ps *parseState) {
return func(ps *Parser) {
ps.suppressSeverity = ERROR
}
}