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 skills/offload-to-sandbox/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ name=exp-parser
: "${SBX_PROJECT:?set SBX_PROJECT to your project name}"

# Read a sandbox file to stdout without changing its bytes.
sandbox read --scope "$SBX_SCOPE" --project "$SBX_PROJECT" "${name}:/vercel/sandbox/cand/package.json"
sandbox read --scope "$SBX_SCOPE" --project "$SBX_PROJECT" "$name" /vercel/sandbox/cand/package.json

# Write a script from stdin and make it executable.
sandbox write --scope "$SBX_SCOPE" --project "$SBX_PROJECT" --mode 755 "${name}:/vercel/sandbox/check.sh" <<'SCRIPT'
sandbox write --scope "$SBX_SCOPE" --project "$SBX_PROJECT" --mode 755 "$name" /vercel/sandbox/check.sh <<'SCRIPT'
#!/bin/sh
cd /vercel/sandbox/cand
npm test
Expand Down
Loading