mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-30 16:08:58 +01:00
update code comments
This commit is contained in:
+2
-2
@@ -60,13 +60,13 @@ export const createPromptFile = async (
|
||||
if (await fileService.exists(promptUri)) {
|
||||
const promptInfo = await fileService.resolve(promptUri);
|
||||
|
||||
// if existing entity is a folder, throw an error
|
||||
// if existing object is a folder, throw an error
|
||||
assert(
|
||||
!promptInfo.isDirectory,
|
||||
new FolderExists(promptUri.fsPath),
|
||||
);
|
||||
|
||||
// if prompt file already exists - open it
|
||||
// prompt file already exists so open it
|
||||
await commandService.executeCommand('vscode.open', promptUri);
|
||||
|
||||
return promptUri;
|
||||
|
||||
Reference in New Issue
Block a user