helper/proc: expose setup file
All checks were successful
Test / Create distribution (push) Successful in 25s
Test / Fortify (push) Successful in 2m34s
Test / Fpkg (push) Successful in 3m29s
Test / Data race detector (push) Successful in 3m27s
Test / Flake checks (push) Successful in 51s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-08 23:24:39 +09:00
parent 9e15898c8f
commit 61e58aa14d
5 changed files with 28 additions and 26 deletions

View File

@@ -41,7 +41,7 @@ func Main() {
payload Payload
closeSetup func() error
)
if f, err := proc.Receive(Env, &payload); err != nil {
if f, err := proc.Receive(Env, &payload, nil); err != nil {
if errors.Is(err, proc.ErrInvalid) {
log.Fatal("invalid config descriptor")
}