Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: getting started commands with jbang
Fixing this based on quarkusio/quarkus#22723 The issue here is that if you are BRAND NEW user you don't have trusted the location quarkusio jbang catalog fetches its jars from. i.e. you have no `~/.jbang/trusted-sources.json` Thus if you run this command first: `curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force quarkus@quarkusio` jbang will ask you to trust BUT curl via pipe result in no tty being available, i.e. user can not say/answer yes; thus until jbang 0.86 we delayed that question until you actually try and run the installed script - but as seen in #22723 that confuses people too. So in jbang 0.87 I made it so `jbang app install` will ask you for trust, but it does not fix the first install as here you still don't have a tty to ask user. Thus this PR adds explicit call for trust. Then it works for initial user too.
- Loading branch information