replace parser with actions/workflow-parser

This commit is contained in:
Casey Lee committed 2019-02-06 22:36:13 -08:00
1 parent 72fbefcedc
commit 5d0a8d26ae
43 files changed
+12749 -634

No files matched your search

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