Skip to content

Commit 2d1fa06

Browse files
committed
Replace __dirname with import.meta.dirname
1 parent 9b9ac33 commit 2d1fa06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/integration.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Index: code-server/lib/vscode/src/server-main.ts
292292
+ osLocale: 'en',
293293
+ commit: product.commit,
294294
+ userDataPath: '',
295-
+ nlsMetadataPath: __dirname,
295+
+ nlsMetadataPath: import.meta.dirname,
296296
+ });
297297
+ return loadCode(nlsConfiguration);
298298
+}

0 commit comments

Comments
 (0)