Skip to content

Commit 9675a60

Browse files
committed
[CCP] Simplify package reporting
1 parent ed61899 commit 9675a60

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Helpers/CompatChecks/ThirdPartyAppxCCP.vb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ Namespace Helpers.CompatChecks
1414
Dim Appxs() As String = thirdPartyAppxsRk.GetSubKeyNames()
1515
thirdPartyAppxsRk.Close()
1616
If Appxs.Count > 0 Then
17-
Dim appxStr As String = ""
18-
For Each Appx In Appxs
19-
appxStr &= String.Format("{0}, ", Appx)
20-
Next
21-
appxStr = appxStr.TrimEnd(", ")
17+
Dim appxStr As String = String.Join(", ", Appxs)
2218
Status.Compatible = True
2319
Status.StatusMessage = New Classes.StatusMessage("Third-party Microsoft Store app checks",
2420
"Some packages that may only be registered to this user account have been detected. Sysprep may fail to run.",

0 commit comments

Comments
 (0)