Skip to content

Commit

Permalink
Fix if block
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroFish91 committed Dec 31, 2024
1 parent bd5b2cf commit 5e7513f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { type DeployWorkspaceProjectInternalContext } from "../DeployWorkspacePr
export class DwpAcrListStep<T extends DeployWorkspaceProjectInternalContext> extends AzureWizardPromptStep<T> {
public async prompt(context: T): Promise<void> {
const picks: IAzureQuickPickItem<Registry | undefined>[] = await this.getPicks(context);
if (!picks.length) {
if (picks.length === 1) {
// No container registries to choose from
return;
}
Expand Down

0 comments on commit 5e7513f

Please sign in to comment.