Skip to content

fix: clarify app setup messages and hint about jbang version --update - #2558

Merged
maxandersen merged 1 commit into
jbangdev:mainfrom
maxandersen:2067
Jun 27, 2026
Merged

fix: clarify app setup messages and hint about jbang version --update#2558
maxandersen merged 1 commit into
jbangdev:mainfrom
maxandersen:2067

Conversation

@maxandersen

Copy link
Copy Markdown
Collaborator

When jbang app setup detects JBang is already on PATH, the messages now:

  1. Clarify that --force updates shell environment files (not JBang itself)
  2. Suggest running jbang version --update to update JBang itself

Before:

[jbang] JBang is already available in PATH.
[jbang] (You can use --force to perform the setup anyway)

After:

[jbang] JBang is already available in PATH.
[jbang] (You can use --force to update your shell environment files anyway)
[jbang] If you want to update JBang itself, run: jbang version --update

Fixes #2067

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2ea3f9a0-ccf5-443a-ac80-0fc40e035e25

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

quintesse
quintesse previously approved these changes Jun 25, 2026

@quintesse quintesse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@koppor

koppor commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Not sure whether you like my proposal at maxandersen#9

When JBang is already on PATH, clarify that --force updates shell
environment files (not JBang itself) and suggest running
'jbang version --update' to update JBang.

Fixes jbangdev#2067

Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
@maxandersen
maxandersen merged commit 11bfd36 into jbangdev:main Jun 27, 2026
4 of 5 checks passed
@maxandersen

Copy link
Copy Markdown
Collaborator Author

sorry @koppor didnt see it was you opened PR on my fork not jbangdev/jbang :)

added you as co-author on this one. thanks!

@koppor

koppor commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Thank you. In that moment I totally forgot that there was the suggestion functionality 😅

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.

jbang app setup --force not doing anything?

3 participants