Skip to content

Commit d5e6a88

Browse files
committed
fix: use realpath.native
Use `realpath.native` to work around this bug: nodejs/node#60295
1 parent 91ee898 commit d5e6a88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function activate(context: vscode.ExtensionContext) {
2121
return;
2222
}
2323

24-
fs.realpath(filePath, async (err, realFilePath) => {
24+
fs.realpath.native(filePath, async (err, realFilePath) => {
2525
if (err) {
2626
// No need to burden user with error
2727
return;

0 commit comments

Comments
 (0)