mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51: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> {
|
export async function launchPublishDatabaseQuickpick(project: Project, projectController: ProjectsController): Promise<void> {
|
||||||
const publishTarget = await launchPublishTargetOption();
|
const publishTarget = await launchPublishTargetOption();
|
||||||
|
|
||||||
|
// Return when user hits escape
|
||||||
|
if (!publishTarget) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
if (publishTarget === constants.publishToDockerContainer) {
|
if (publishTarget === constants.publishToDockerContainer) {
|
||||||
await projectController.publishToDockerContainer(project);
|
await projectController.publishToDockerContainer(project);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user