matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Missing error wrapping in config loader

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug

In cli/config.go:35, fmt.Errorf("file not found: %s", target) fails to wrap the underlying os.ErrNotExist.

To reproduce

Attempt to load a missing config file.

Expected behavior

Wrap the original error so errors.Is(err, os.ErrNotExist) works correctly upstream.

andrinoff avatar Apr 20 '26 19:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 21 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 06:06 floatpanebot