feat: example env files are listed hidden, not skipped
CI / Checks (pull_request) Successful in 37s
PR title / Conventional title (pull_request) Successful in 0s

.env.example, .sample, .template and the like show with H: someone may
have put a real value in one. They're left out of sharing a repo's env
files.
This commit is contained in:
keb committed 2026-10-15 14:06:16 +02:00
1 parent 4bac06ae5b
commit 96d9f24082
4 files changed
+34 -16

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ func (m *Model) shareFiles(src provider.Source, cs []provider.Container) tea.Cmd
return msg
}
for _, c := range all {
if c.Detail == provider.DetailPlainEnv {
if c.Detail == provider.DetailPlainEnv && !c.Hidden { // not .env.example
cs = append(cs, c)
}
}