Skip to content

Commit

Permalink
docs: add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
bm424 committed Sep 20, 2023
1 parent e20d294 commit bb1f097
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ export class ChatProvider implements vscode.WebviewViewProvider {

constructor(private _context: vscode.ExtensionContext) {
this._extensionUri = _context.extensionUri;
this._assetsUri = vscode.Uri.file(getCodingAssistantAssetsPath());
const _assetsPath = getCodingAssistantAssetsPath();
// Parsing the path using `file` rather than `parse` allows it to work on Windows
// See https://github.com/microsoft/vscode-uri/blob/5af89bac2109c0dc7f904b20cc88cac0568747b1/src/uri.ts#L309-L311
this._assetsUri = vscode.Uri.file(_assetsPath);
}

public async resolveWebviewView(
Expand Down

0 comments on commit bb1f097

Please sign in to comment.