summaryrefslogtreecommitdiff
path: root/packages/cli/src/utils/sandbox.ts
diff options
context:
space:
mode:
authorJosh Soref <[email protected]>2025-07-21 17:54:44 -0400
committerGitHub <[email protected]>2025-07-21 21:54:44 +0000
commitdc2ac144b7059ec2d66f1e90316df40d3822c8b5 (patch)
tree63c9bece313ae92c841ab2808253c9cc6eaee755 /packages/cli/src/utils/sandbox.ts
parent8be5f8038a50fb5b2010590c8a18a4558da1663c (diff)
Various spelling improvements (#3497)
Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
Diffstat (limited to 'packages/cli/src/utils/sandbox.ts')
-rw-r--r--packages/cli/src/utils/sandbox.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/utils/sandbox.ts b/packages/cli/src/utils/sandbox.ts
index 670d8930..1c2d7d08 100644
--- a/packages/cli/src/utils/sandbox.ts
+++ b/packages/cli/src/utils/sandbox.ts
@@ -99,7 +99,7 @@ async function shouldUseCurrentUserInSandbox(): Promise<boolean> {
}
// docker does not allow container names to contain ':' or '/', so we
-// parse those out and make the name a little shorter
+// parse those out to shorten the name
function parseImageName(image: string): string {
const [fullName, tag] = image.split(':');
const name = fullName.split('/').at(-1) ?? 'unknown-image';
@@ -187,7 +187,7 @@ export async function start_sandbox(
if (config.command === 'sandbox-exec') {
// disallow BUILD_SANDBOX
if (process.env.BUILD_SANDBOX) {
- console.error('ERROR: cannot BUILD_SANDBOX when using MacOS Seatbelt');
+ console.error('ERROR: cannot BUILD_SANDBOX when using macOS Seatbelt');
process.exit(1);
}
const profile = (process.env.SEATBELT_PROFILE ??= 'permissive-open');
@@ -847,7 +847,7 @@ async function ensureSandboxImageIsPresent(
console.info(`Sandbox image ${image} not found locally.`);
if (image === LOCAL_DEV_SANDBOX_IMAGE_NAME) {
- // user needs to build the image themself
+ // user needs to build the image themselves
return false;
}