Skip to content

Commit

Permalink
chore(boxes): adding suggestions, thanks Alex
Browse files Browse the repository at this point in the history
  • Loading branch information
signorecello committed Apr 18, 2024
1 parent b0a0b89 commit aef2843
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/scripts/onCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ if ! grep -q "PXE_URL" ~/.bashrc; then
echo "export PXE_URL=https://\$CODESPACE_NAME-8080.preview.\$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN" >> ~/.bashrc
fi

echo 'y' | npx create-aztec-app -t $TYPE -n $NAME -s
mv react/* .
yes | npx create-aztec-app -t $TYPE -n $NAME -s
mv react/* react/.* .
rm -rf react

yarn
Expand Down
2 changes: 1 addition & 1 deletion boxes/scripts/steps/sandbox/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const runPty = async (command, { success: exitSuccess, error }) => {
};

async function installSandbox() {
await runPty("echo y | bash -i <(curl -s install.aztec.network); exit\n", {
await runPty("yes | bash -i <(curl -s install.aztec.network); exit\n", {
success: "The Sandbox is installed!",
error:
"Failed to install the Sandbox. Please visit the docs at https://docs.aztec.network",
Expand Down

0 comments on commit aef2843

Please sign in to comment.