Skip to content

Conversation

@DHowett
Copy link
Member

@DHowett DHowett commented Jul 5, 2022

% .\tools\ReleaseEngineering\ServicingPipeline.ps1
Inferred servicing version 1.14
PICK f025c53dbab37a5a55ac23a51aba03e36467315f: Remove the fallback to wsl.exe when HKCU\...\Lxss doesn't exist (#13436)
 OK

$Host.ExitNestedPrompt()
}

If ([String]::IsNullOrEmpty($Version)) {
Copy link
Member

@lhecker lhecker Jul 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just write if (!$Version).
(I believe small if is the canonical variant nowadays.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Didn't know that. Is that supported on PS 5.1?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to work. Is PS 5.1 still relevant though? We already require pwsh 7 or newer for the build anyways (to compress JSON strings).

@zadjii-msft zadjii-msft merged commit 16028de into main Jul 6, 2022
@zadjii-msft zadjii-msft deleted the dev/duhowett/infer branch July 6, 2022 11:11
DHowett added a commit that referenced this pull request Sep 6, 2022
…3439)

```
% .\tools\ReleaseEngineering\ServicingPipeline.ps1
Inferred servicing version 1.14
PICK f025c53: Remove the fallback to wsl.exe when HKCU\...\Lxss doesn't exist (#13436)
 OK
```

(cherry picked from commit 16028de)
Service-Card-Id: 85487931
Service-Version: 1.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants