mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Use defined variable instead of internal property
This commit is contained in:
parent
9ab7b1477a
commit
8ae46c4ec3
|
@ -114,7 +114,7 @@ export class TerminalProfileService implements ITerminalProfileService {
|
|||
|
||||
// IMPORTANT: Only allow the default profile name to find non-auto detected profiles as
|
||||
// to avoid unsafe path profiles being picked up.
|
||||
return this.availableProfiles.find(e => e.profileName === this._defaultProfileName && !e.isAutoDetected);
|
||||
return this.availableProfiles.find(e => e.profileName === defaultProfileName && !e.isAutoDetected);
|
||||
}
|
||||
|
||||
private _getOsKey(os: OperatingSystem): string {
|
||||
|
|
Loading…
Reference in a new issue