Open srichelle opened 1 year ago
Try this on line 13 of extension.ts:
vscode.workspace.fs.writeFile( Uri.joinPath(Uri.parse(
file:///${extensionPath}), 'flow-schema.json'), new TextEncoder().encode(jsonSchema));
It works on Windows and it should work with unix* paths as well.
Windows 10 VSCode 1.81.1
When I launch the command Download Kestra schema, I have the message "Successfully downloaded schema", but after reload when I open a yaml file, I have an error "Unable to load schema from 'c:\Users\simonRich.vscode\extensions\kestra-io.kestra-0.0.1\flow-schema.json': No content.YAML(768)".
The file does not exists at this path.
I looked at the dev console while running "Download Kestra schema" again and I see this error :