MCPcopy Create free account
hub / github.com/docker/compose / handler

Method handler

pkg/compose/publish_test.go:574–582  ·  view source on GitHub ↗
(message string, _ bool)

Source from the content-addressed store, hash-verified

572}
573
574func (p *fakePrompt) handler(message string, _ bool) (bool, error) {
575 p.prompts = append(p.prompts, message)
576 if len(p.answers) == 0 {
577 return true, nil
578 }
579 a := p.answers[0]
580 p.answers = p.answers[1:]
581 return a, nil
582}
583
584func Test_checkEnvironmentVariables_silent_when_no_findings(t *testing.T) {
585 project := loadProjectForTest(t, map[string]string{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected