We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd7bf9 commit 2d09ef7Copy full SHA for 2d09ef7
src/commands/init.ts
@@ -382,7 +382,7 @@ async function initDisco({
382
return apiKey
383
}
384
385
-function extractApiKey(output: string): string {
+export function extractApiKey(output: string): string {
386
const match = output.match(/Created API key: ([a-z0-9]{32})/)
387
if (!match) {
388
throw new Error('could not extract API key')
0 commit comments