Commit 29bf86a
Fix ResolvedTarget treating dotfile directories as file paths
filepath.Ext(".claude") returns ".claude" (non-empty), causing
destinations like ~/.claude to be treated as complete file paths
instead of directories. Add an os.Stat check so existing directories
always get the source basename appended.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3f286ed commit 29bf86a
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments