mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
Remove redundant line
This commit is contained in:
@@ -242,11 +242,10 @@ export class QueryBuilder {
|
||||
return path.isAbsolute(segment) || /^\.\.?([\/\\]|$)/.test(segment);
|
||||
};
|
||||
|
||||
const userHome = this._userHome;
|
||||
const segments = splitGlobPattern(pattern)
|
||||
.map(segment => {
|
||||
if (userHome) {
|
||||
return untildify(segment, userHome.fsPath);
|
||||
if (this._userHome) {
|
||||
return untildify(segment, this._userHome.fsPath);
|
||||
}
|
||||
|
||||
return segment;
|
||||
|
||||
Reference in New Issue
Block a user