mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
update project already exists error message (#11596)
This commit is contained in:
@@ -137,7 +137,7 @@ export class ProjectsController {
|
||||
catch { } // file doesn't already exist
|
||||
|
||||
if (fileExists) {
|
||||
throw new Error(constants.projectAlreadyExists(newProjFileName, folderUri.fsPath));
|
||||
throw new Error(constants.projectAlreadyExists(newProjFileName, path.parse(newProjFilePath).dir));
|
||||
}
|
||||
|
||||
await fs.mkdir(path.dirname(newProjFilePath), { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user