§780 readers: take the form the tolerant seat decoders answer
mesh-contracts' K1 regenerated every seat package to answer (value, form, error); the catalog's four callers take the form. Builds: design 47 H2 §780; H-A-350 DMC-4
This commit is contained in:
@@ -114,7 +114,7 @@ func (m *Module) steps(ctx context.Context, args map[string]any) (any, error) {
|
||||
key := seat.DetectedStepsByModuleArtifactKey(str("module"), name)
|
||||
if again, _ := args["again"].(bool); !again && fp != "" && m.ReadDetected != nil {
|
||||
if raw, err := m.ReadDetected(key); err == nil && len(raw) > 0 {
|
||||
if kept, err := seat.DecodeDetectedStepsByModuleArtifactValue(raw); err == nil && kept.Fingerprint == fp {
|
||||
if kept, _, err := seat.DecodeDetectedStepsByModuleArtifactValue(raw); err == nil && kept.Fingerprint == fp {
|
||||
return StepsAnswer{Artifact: artifact, Fingerprint: fp, Steps: kept.Steps, Kept: true}, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user