Skip to content

Commit b16aeb3

Browse files
author
Dave Bartolomeo
committed
Fix property name, and expand another path
1 parent ee73639 commit b16aeb3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

extensions/ql-vscode/src/variant-analysis/run-remote-query.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,14 @@ async function createRemoteQueriesTempDirectory(): Promise<RemoteQueryTempDir> {
295295
// archive if the pack path contains any 8.3 components.
296296
const remoteQueryDir = {
297297
...shortRemoteQueryDir,
298-
dir: expandShortPaths(shortRemoteQueryDir.path),
298+
path: await expandShortPaths(shortRemoteQueryDir.path),
299299
};
300300
const queryPackDir = join(remoteQueryDir.path, "query-pack");
301301
await mkdirp(queryPackDir);
302302
const compiledPackDir = join(remoteQueryDir.path, "compiled-pack");
303-
const bundleFile = await getPackedBundlePath(tmpDir.name);
303+
const bundleFile = await expandShortPaths(
304+
await getPackedBundlePath(tmpDir.name),
305+
);
304306
return { remoteQueryDir, queryPackDir, compiledPackDir, bundleFile };
305307
}
306308

0 commit comments

Comments
 (0)