Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite819f36

Browse files
authored
Fix error when rootRui is null. (microsoft#2614)
1 parent140670c commite819f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Extension/src/LanguageServer/configurations.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export class CppProperties {
264264
Object.assign(result,this.configurationJson.env);
265265
}
266266

267-
result["workspaceFolderBasename"]=path.basename(this.rootUri.fsPath);
267+
result["workspaceFolderBasename"]=this.rootUri ?path.basename(this.rootUri.fsPath) :"";
268268
returnresult;
269269
}
270270

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp