Skip to content

Commit dcc8fbe

Browse files
committed
Add correct path sep
1 parent 827b864 commit dcc8fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/image/imageSource/buildImageInAzure/SourcePathStep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class SourcePathStep extends AzureWizardPromptStep<BuildImageInAzureImage
3636
private async getPicks(context: BuildImageInAzureImageSourceContext): Promise<IAzureQuickPickItem<string | undefined>[]> {
3737
const rootPath: string = context.rootFolder.uri.fsPath;
3838
const relativePathArgs: string[] = path.relative(rootPath, path.dirname(context.dockerfilePath)).split(path.sep);
39-
const picks: IAzureQuickPickItem<string | undefined>[] = [{ label: './', description: 'root', data: rootPath }];
39+
const picks: IAzureQuickPickItem<string | undefined>[] = [{ label: '.' + path.sep, description: 'root', data: rootPath }];
4040

4141
let p: string = '';
4242
for (const pathArg of relativePathArgs) {

0 commit comments

Comments
 (0)