fix(pairing): accept positional provider args
This commit is contained in:
@@ -37,7 +37,7 @@ describe("buildPairingReply", () => {
|
||||
expect(text).toContain(testCase.idLine);
|
||||
expect(text).toContain(`Pairing code: ${testCase.code}`);
|
||||
expect(text).toContain(
|
||||
`clawdbot pairing approve --provider ${testCase.provider} <code>`,
|
||||
`clawdbot pairing approve ${testCase.provider} <code>`,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -14,6 +14,6 @@ export function buildPairingReply(params: {
|
||||
`Pairing code: ${code}`,
|
||||
"",
|
||||
"Ask the bot owner to approve with:",
|
||||
`clawdbot pairing approve --provider ${provider} <code>`,
|
||||
`clawdbot pairing approve ${provider} <code>`,
|
||||
].join("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user