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

Method withEffectiveStrictMode

pkg/workflow/compiler_orchestrator_engine.go:142–149  ·  view source on GitHub ↗
(frontmatter map[string]any, fn func() error)

Source from the content-addressed store, hash-verified

140}
141
142func (c *Compiler) withEffectiveStrictMode(frontmatter map[string]any, fn func() error) error {
143 initialStrictMode := c.strictMode
144 c.strictMode = c.effectiveStrictMode(frontmatter)
145 defer func() {
146 c.strictMode = initialStrictMode
147 }()
148 return fn()
149}
150
151func (c *Compiler) applyEngineOverride(engineSetting string, engineConfig *EngineConfig) (string, *EngineConfig) {
152 if c.engineOverride == "" {

Callers 2

Calls 2

effectiveStrictModeMethod · 0.95
fnFunction · 0.85

Tested by

no test coverage detected