Skip to content

Commit b335421

Browse files
betegonclaude
andcommitted
fix(init): move deriveTeamSlug above resolvePreSpinnerOptions JSDoc
The helper was inserted between the JSDoc block and its function, orphaning the documentation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 77e98a3 commit b335421

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib/init/wizard-runner.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,13 @@ async function preamble(
277277
return true;
278278
}
279279

280+
/**
281+
* Derive a team slug for auto-creation when the org has no teams.
282+
*/
283+
function deriveTeamSlug(): string {
284+
return "default";
285+
}
286+
280287
/**
281288
* Resolve org and detect an existing Sentry project before the spinner starts.
282289
*
@@ -287,13 +294,6 @@ async function preamble(
287294
* @returns Updated options with org and project resolved, or `null` to abort.
288295
* When `null` is returned, `process.exitCode` is already set.
289296
*/
290-
/**
291-
* Derive a team slug for auto-creation when the org has no teams.
292-
*/
293-
function deriveTeamSlug(): string {
294-
return "default";
295-
}
296-
297297
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: sequential wizard pre-flight branches are inherently nested
298298
async function resolvePreSpinnerOptions(
299299
options: WizardOptions

0 commit comments

Comments
 (0)