Skip to content
Merged
Show file tree
Hide file tree
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 src/__tests__/bot-commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ describe("bot messages", () => {
it("createdMessage uses English bootstrap copy", () => {
const message = createdMessage(
"demo-app",
"npx @spawn-dock/create --token pair_demo",
"npx -y @spawn-dock/create --token pair_demo",
);

expect(message).toContain("Project demo-app created.");
expect(message).toContain("1. Run the bootstrap command locally:");
expect(message).toContain("npx @spawn-dock/create --token pair_demo");
expect(message).toContain("npx -y @spawn-dock/create --token pair_demo");
expect(message).toContain("2. After bootstrap, run:");
expect(message).toContain("pnpm run dev");
expect(message).not.toContain("Links:");
Expand Down
2 changes: 1 addition & 1 deletion src/bot/polling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function processUpdate(cfg: ReturnType<typeof readBotConfig>, update: Tele
clearTimeout(ackTimeout);
const slug = data.project.slug;
const token = data.pairingToken.token;
const bootstrapCmd = `npx @spawn-dock/create --token ${token}`;
const bootstrapCmd = `npx -y @spawn-dock/create --token ${token}`;
await sendMessage(
cfg.telegramBotToken,
msg.chat.id,
Expand Down