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 3e04312912
commit 4b61fb3bc3
119 changed files with 9482 additions and 3609 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
}
}