🚧 fix slash commands

This commit is contained in:
Nate Sesti 2023-12-09 19:44:30 -08:00
parent 0f22a702c9
commit 6faf6cd07d

View file

@ -262,7 +262,7 @@ export function getSidebarContent(
break;
}
case "writeFile": {
respond(await ide.writeFile(data.path, data.contents));
respond(await ide.writeFile(data.message.path, data.message.contents));
break;
}
case "showVirtualFile": {
@ -274,11 +274,11 @@ export function getSidebarContent(
break;
}
case "openFile": {
respond(await ide.openFile(data.path));
respond(await ide.openFile(data.message.path));
break;
}
case "runCommand": {
respond(await ide.runCommand(data.command));
respond(await ide.runCommand(data.message.command));
break;
}
// History