We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13c1b0c commit 85f7d62Copy full SHA for 85f7d62
extensions/vscode/src/activation/activate.ts
@@ -1,5 +1,3 @@
1
-import * as path from "path";
2
-
3
import { getContinueRcPath, getTsConfigPath } from "core/util/paths";
4
import { Telemetry } from "core/util/posthog";
5
import * as vscode from "vscode";
@@ -38,10 +36,10 @@ export async function activateExtension(context: vscode.ExtensionContext) {
38
36
const yamlMatcher = ".continue/**/*.yaml";
39
37
const yamlConfig = vscode.workspace.getConfiguration("yaml");
40
41
- const newPath = path.join(
42
- context.extension.extensionUri.fsPath,
+ const newPath = vscode.Uri.joinPath(
+ context.extension.extensionUri,
43
"config-yaml-schema.json",
44
- );
+ ).toString();
45
46
try {
47
await yamlConfig.update(
0 commit comments