Skip to content

Commit b21ef69

Browse files
committed
chore: wip
1 parent 560f6d7 commit b21ef69

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.stacks/scripts/ensure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ INSTALLED_NODE_PATCH=$(echo "$INSTALLED_NODE_VERSION" | cut -d. -f3)
1414
if [[ "$INSTALLED_NODE_MAJOR" -lt "$REQUIRED_NODE_MAJOR" ||
1515
("$INSTALLED_NODE_MAJOR" -eq "$REQUIRED_NODE_MAJOR" && "$INSTALLED_NODE_MINOR" -lt "$REQUIRED_NODE_MINOR") ||
1616
("$INSTALLED_NODE_MAJOR" -eq "$REQUIRED_NODE_MAJOR" && "$INSTALLED_NODE_MINOR" -eq "$REQUIRED_NODE_MINOR" && "$INSTALLED_NODE_PATCH" -lt "$REQUIRED_NODE_PATCH") ]]; then
17-
$SHELL -c "sh ./setup.sh; source ~/.zshrc"
17+
exec $SHELL -c "sh ./setup.sh; source ~/.zshrc; source ~/.zshrc; echo Pnpm version installed:; pnpm -v; echo Node version installed:; node -v"
1818
fi
1919

2020
echo "Node.js version $REQUIRED_NODE_VERSION or greater is installed!"

.stacks/scripts/setup.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,7 @@ install)
508508
gum_func format -- <<-EoMD
509509
# you’re all set!
510510
511-
try it out:
512-
513-
node --version # check if node is installed
514-
pnpm --version # check if pnpm is installed
511+
Please reopen your shell for changes to take effect.
515512
EoMD
516513
fi
517514
elif test -n "$TEA_IS_CURRENT"; then

0 commit comments

Comments
 (0)