Skip to content

Commit 19ab5a8

Browse files
committed
Updates
1 parent 2db14e8 commit 19ab5a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/deployWorkspaceProject/DeployWorkspaceProjectSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function getDeployWorkspaceProjectSettings(rootFolder: WorkspaceFol
3131
containerRegistryName
3232
};
3333
}
34-
} catch { /** Do nothing */ }
34+
} catch { /** If unable to read settings values, return undefined */ }
3535

3636
return undefined;
3737
}

src/commands/deployWorkspaceProject/getDefaultValues/getDefaultAcrResources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface DefaultAcrResources {
1616
}
1717

1818
export async function getDefaultAcrResources(context: ISubscriptionActionContext, settings: DeployWorkspaceProjectSettings | undefined): Promise<DefaultAcrResources> {
19-
const noMatchingResource = { registry: undefined };
19+
const noMatchingResource = { registry: undefined, imageName: undefined };
2020

2121
if (!settings || !settings.containerRegistryName) {
2222
return noMatchingResource;

0 commit comments

Comments
 (0)