make variable names more specific

This commit is contained in:
Crystal Tenn
2023-04-18 18:16:55 -04:00
parent dba3cf5d96
commit 2449e5cea1
+2 -2
View File
@@ -32,8 +32,8 @@ export function getFileProvider(
}
const workspaceURI = vscodeURI.URI.parse(workspace);
const path = vscodeURI.Utils.joinPath(workspaceURI, ref.path);
const file = await readFile(path.toString());
const refURI = vscodeURI.Utils.joinPath(workspaceURI, ref.path);
const file = await readFile(refURI.toString());
if (!file) {
throw new Error(`File not found: ${ref.path}`);