Go 1.25 resolves "./cmd/molecule" relative to cmd.Dir as an absolute path under the CWD, producing the doubled "cmd/molecule/cmd/molecule" error. Building the whole module from the root and relying on the binary name from -o is the idiomatic Go approach and avoids path arithmetic entirely. Also tightened error message to match the new command. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| molecule | ||