We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d64047f commit 0e7342fCopy full SHA for 0e7342f
src/assistant/extension.ts
@@ -719,7 +719,7 @@ async function saveFilesToWorkspace(
719
// File does not exist; create it.
720
workspaceEdit.createFile(fileUri, {
721
overwrite: false,
722
- contents: Buffer.from(file.content, "utf-8"),
+ contents: new Uint8Array(Buffer.from(file.content, "utf-8")),
723
});
724
createdUris.push(fileUri);
725
}
0 commit comments