Skip to content

Conversation

jyecusch
Copy link
Member

@jyecusch jyecusch commented Jul 15, 2025

When using an alias to point at the binary file for the CLI the os.Args[0] value is a full path e.g. /Users/you/somewhere/nitric/cli/bin/nitric. If there is a clever way to get around this I'm open to it. Otherwise, simplicity is probably the solution and we just use a string.

Before:
before

After:
after

jyecusch added 2 commits July 16, 2025 08:48
The full file path was appearing using os.Args[0] when an alias is used to reference the cli binary.
Copy link

vercel bot commented Jul 15, 2025

@jyecusch is attempting to deploy a commit to the Nitric Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jul 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
nitric-docs ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 1:16am

@tjholm tjholm merged commit cbc1e93 into nitrictech:next Jul 16, 2025
4 checks passed
@jyecusch jyecusch deleted the fix-full-path-name branch July 17, 2025 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants