mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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
|
catch { } // file doesn't already exist
|
||||||
|
|
||||||
if (fileExists) {
|
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 });
|
await fs.mkdir(path.dirname(newProjFilePath), { recursive: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user