Skip to content

Commit e3f4e05

Browse files
cs-rajclaude
andcommitted
fix(DX-10057): remove dead sampleapp branch in bootstrap
appType is hardcoded to 'starterapp' and config.sampleApps is empty — the sampleapp branch was never reachable in V2. Removing it also fixes the TS2367 literal type overlap error in CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8485314 commit e3f4e05

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

packages/contentstack-bootstrap/src/commands/cm/bootstrap.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,7 @@ export default class BootstrapCommand extends Command {
9797
(bootstrapCommandFlags.appName as string) || (bootstrapCommandFlags['app-name'] as string);
9898
let selectedApp;
9999
if (!selectedAppName) {
100-
if (appType === 'sampleapp') {
101-
selectedApp = await inquireApp(config.sampleApps);
102-
} else if (appType === 'starterapp') {
103-
selectedApp = await inquireApp(config.starterApps);
104-
} else {
105-
this.error('Invalid app type provided: ' + appType, { exit: 1 });
106-
}
100+
selectedApp = await inquireApp(config.starterApps);
107101
}
108102

109103
if (!selectedAppName && !selectedApp) {

0 commit comments

Comments
 (0)