Skip to content

Commit 7f820c8

Browse files
committed
Move import into module as specified in documentation
1 parent 44aeaee commit 7f820c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
3+
Import-Module powershell-yaml -Force -ErrorAction Stop
4+
35
class UnitySetupInstaller
46
{
57
[UnitySetupComponentType] $ComponentType

UnitySetup/UnitySetupInit.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@
1616
WebGL = (1 -shl 13)
1717
Windows_IL2CPP = (1 -shl 14)
1818
All = (-1)
19-
}
20-
21-
Import-Module powershell-yaml -Force -ErrorAction Stop
19+
}

0 commit comments

Comments
 (0)