Skip to content

Commit b88228f

Browse files
committed
remove un necessary Promise.resolve
1 parent 3d54096 commit b88228f

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
@@ -1786,7 +1786,7 @@ export class CppProperties {
17861786

17871787
private async validatePath(input: string | string[] | undefined, { isDirectory = true, assumeRelative = true, globPaths = false } = {}): Promise<string | undefined> {
17881788
if (!input) {
1789-
return Promise.resolve(undefined);
1789+
return undefined;
17901790
}
17911791

17921792
let errorMsg: string | undefined;

0 commit comments

Comments
 (0)