Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions yarn-project/cli/src/unbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function downloadContractAndBoxFromGithub(
// small string conversion, in the ABI the contract name looks like PrivateToken
// but in the repostory it looks like private_token

log(`Downloading @aztex/boxes/${contractName} to ${outputPath}...`);
log(`Downloading @aztex/boxes/${contractName}/ to ${outputPath}...`);
// Step 1: Fetch the monorepo ZIP from GitHub, matching the CLI version
const url = `https://github.com/${GITHUB_OWNER}/${GITHUB_REPO}/archive/refs/tags/${tag}.zip`;
const response = await fetch(url);
Expand All @@ -116,7 +116,7 @@ async function downloadContractAndBoxFromGithub(
// this is currently only implemented for `blank` and `private-token` under 'boxes/{box-name}/'
const repoDirectoryPrefix = `${GITHUB_REPO}-${tag}`;

const boxPath = `${repoDirectoryPrefix}/${BOXES_PATH}/${contractName}`;
const boxPath = `${repoDirectoryPrefix}/${BOXES_PATH}/${contractName}/`;
await copyFolderFromGithub(data, boxPath, outputPath, log);

// the expected noir version is contained in
Expand Down