get project names from config

This commit is contained in:
Simon Knott 2024-09-03 08:48:36 +02:00
parent 46d19c9682
commit 835320908a
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -163,7 +163,7 @@ export async function runWatchModeLoop(configLocation: ConfigLocation, initialOp
type: 'multiselect', type: 'multiselect',
name: 'selectedProjects', name: 'selectedProjects',
message: 'Select projects', message: 'Select projects',
choices: teleSuiteUpdater.rootSuite!.suites.map(s => s.title), choices: teleSuiteUpdater.config!.projects.map(s => s.name),
}).catch(() => ({ selectedProjects: null })); }).catch(() => ({ selectedProjects: null }));
if (!selectedProjects) if (!selectedProjects)
continue; continue;