Skip to content

Commit 41ef820

Browse files
authored
1 parent 2df2965 commit 41ef820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,12 +462,12 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements
462462
const validate = () => {
463463
if (!profile && this.userDataProfilesService.profiles.some(p => p.name === quickPick.value)) {
464464
quickPick.validationMessage = localize('profileExists', "Profile with name {0} already exists.", quickPick.value);
465-
quickPick.severity = Severity.Error;
465+
quickPick.severity = Severity.Warning;
466466
return;
467467
}
468468
if (resources.every(resource => !resource.picked)) {
469469
quickPick.validationMessage = localize('invalid configurations', "The profile should contain at least one configuration.");
470-
quickPick.severity = Severity.Error;
470+
quickPick.severity = Severity.Warning;
471471
return;
472472
}
473473
quickPick.severity = Severity.Ignore;

0 commit comments

Comments
 (0)