Skip to content

Commit 0f7a747

Browse files
authored
Merge pull request #4355 from github/dependabot/npm_and_yarn/extensions/ql-vscode/koffi-2.15.2
Bump koffi from 2.15.1 to 2.15.2 in /extensions/ql-vscode
2 parents 0d7817b + a0e327b commit 0f7a747

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

extensions/ql-vscode/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@
20762076
"@hpcc-js/wasm-graphviz": "^1.21.1",
20772077
"fs-extra": "^11.1.1",
20782078
"js-yaml": "^4.1.1",
2079-
"koffi": "^2.15.1",
2079+
"koffi": "^2.15.5",
20802080
"msw": "^2.12.7",
20812081
"nanoid": "^5.0.7",
20822082
"p-queue": "^8.0.1",

extensions/ql-vscode/src/common/short-paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async function expandShortPathNative(shortPath: string, logger: BaseLogger) {
170170
throw new Error("Failed to get long path name");
171171
}
172172

173-
const longPath = buffer.toString("utf16le", 0, (result - 1) * 2);
173+
const longPath = buffer.toString("utf16le", 0, result * 2);
174174

175175
void logger.log(`Expanded short path ${shortPath} to ${longPath}`);
176176

0 commit comments

Comments
 (0)