mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 01:25:36 -05:00
Fixed a bug with cancling publish (#17160)
This commit is contained in:
@@ -208,6 +208,12 @@ export async function getPublishDatabaseSettings(project: Project, promptForConn
|
||||
*/
|
||||
export async function launchPublishDatabaseQuickpick(project: Project, projectController: ProjectsController): Promise<void> {
|
||||
const publishTarget = await launchPublishTargetOption();
|
||||
|
||||
// Return when user hits escape
|
||||
if (!publishTarget) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (publishTarget === constants.publishToDockerContainer) {
|
||||
await projectController.publishToDockerContainer(project);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user