MCPcopy Create free account
hub / github.com/github/gh-aw / error

Method error

pkg/workflow/glob_validation.go:47–54  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

45}
46
47func (v *globValidator) error(msg string) {
48 p := v.scan.Pos()
49 c := p.Column - 1
50 if p.Line > 1 {
51 c = 0
52 }
53 v.errs = append(v.errs, invalidGlobPattern{msg, c})
54}
55
56func (v *globValidator) unexpected(char rune, what, why string) {
57 unexpected := "unexpected EOF"

Callers 15

unexpectedMethod · 0.95
invalidRefCharMethod · 0.95
initMethod · 0.95
validateMethod · 0.95
index.jsFile · 0.80
post.jsFile · 0.80
handleRequestMethod · 0.80
buildWorkflowsScopeErrorFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
ensureParentIssueFunction · 0.80

Calls

no outgoing calls

Tested by 8

assertContainsFunction · 0.64
assertNotContainsFunction · 0.64
assertContainsFunction · 0.64
assertNotContainsFunction · 0.64
assertContainsFunction · 0.64
assertNotContainsFunction · 0.64
cleanupFunction · 0.64
runTestsFunction · 0.64