update code comments

This commit is contained in:
Oleg Solomko
2025-02-20 11:26:32 -08:00
parent b231693e0c
commit c2eb8ab55e
@@ -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;