MCPcopy
hub / github.com/larksuite/cli / LoadLegacyCommandErrorAllowlist

Function LoadLegacyCommandErrorAllowlist

lint/errscontract/scan.go:218–221  ·  view source on GitHub ↗
(root string)

Source from the content-addressed store, hash-verified

216}
217
218func LoadLegacyCommandErrorAllowlist(root string) (LegacyCommandErrorAllowlist, error) {
219 allow, _, err := LoadLegacyCommandErrorAllowlistWithDiagnostics(root)
220 return allow, err
221}
222
223func LoadLegacyCommandErrorAllowlistWithDiagnostics(root string) (LegacyCommandErrorAllowlist, []Violation, error) {
224 path := filepath.Join(root, "internal", "qualitygate", "config", "allowlists", "legacy-command-errors.txt")

Callers

nothing calls this directly

Tested by

no test coverage detected