Skip to content

Commit

Permalink
test(projen.component.dir-env): update dir-env test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanchal committed Mar 19, 2024
1 parent 86c8f23 commit 3aaab3f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/projen/component/dir-env/test/dirEnv.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,19 @@ test<TestContext>('renders default envrc template', (ctx) => {
# User local additions.
source_env_if_exists .envrc.local
# Load rtx or asdf
if has rtx && has use_rtx; then
# Load mise (previously known as \\"rtx\\") or asdf
if has mise && has use_mise; then
use mise
elif has rtx && has use_rtx; then
log_status \\"Note: rtx was renamed to mise. Consider migrating your local rtx config to mise. https://mise.jdx.dev/rtx.html\\"
use rtx
elif has asdf && has use_asdf; then
log_status \\"rtx not found. Falling back to asdf.\\"
log_status \\"mise/rtx not found. Falling back to asdf.\\"
use asdf
else
log_error \\"Neither rtx nor asdf are installed or integrated with direnv.\\"
log_error \\"Neither mise (rtx) nor asdf are installed or integrated with direnv.\\"
log_error \\"For asdf: https://asdf-vm.com/\\"
log_error \\"For rtx (asdf clone in rust): https://github.com/jdxcode/rtx\\"
log_error \\"For mise (asdf clone in rust): https://github.com/jdx/mise\\"
fi
layout node
Expand Down

0 comments on commit 3aaab3f

Please sign in to comment.