Skip to content

Commit 5e3392e

Browse files
authored
1 parent 7beda74 commit 5e3392e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ export class UserDataProfileImportExportService extends Disposable implements IU
481481
sticky: true,
482482
}, async progress => {
483483
const reportProgress = (message: string) => progress.report({ message: localize('create from profile', "Create Profile: {0}", message) });
484-
const profile = await this.doCreateProfile(profileTemplate, false, false, { useDefaultFlags: this.userDataProfileService.currentProfile.useDefaultFlags }, reportProgress);
484+
const profile = await this.doCreateProfile(profileTemplate, false, false, { useDefaultFlags: options?.useDefaultFlags }, reportProgress);
485485
if (profile) {
486486
reportProgress(localize('progress extensions', "Applying Extensions..."));
487487
await this.instantiationService.createInstance(ExtensionsResource).copy(this.userDataProfileService.currentProfile, profile, false);

0 commit comments

Comments
 (0)