in src/yo/index.ts [14:24]
async function getWorkingFolder() {
if (!Array.isArray(workspace.workspaceFolders) || workspace.workspaceFolders.length === 0) {
return undefined;
}
if (workspace.workspaceFolders.length === 1) {
return workspace.workspaceFolders[0].uri.fsPath;
}
const selectedWkFolder = (window as any).showWorkspaceFolderPick()
return selectedWkFolder ? selectedWkFolder.uri.fspath : undefined;
}