Commit 928948e
fix: skip config loading for completion subcommands
Use CommandPath() instead of cmd.Use to properly detect completion
subcommands like "completion bash". Previously, only the leaf command
name was checked, causing config loading to fail when Chart.yaml
doesn't exist.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d69aa8d commit 928948e
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments