mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-06 23:30:29 +00:00
pin to v1.0.0 of github action parser
This commit is contained in:
119 files changed
+9482
-3609
No files matched your search
+3
-3
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user