Skip to content

Commit 39ff59c

Browse files
committed
bad param
1 parent 4631fc7 commit 39ff59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell-adapter/psDscAdapter/psDscAdapter.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# PSDesiredStateConfiguration 2.0.7 module will be saved in the DSC build
77
# in Windows PowerShell, we should always use version 1.1 that ships in Windows
88
if ($PSVersionTable.PSVersion.Major -gt 5) {
9-
$PSDesiredStateConfiguration = Import-Module -Path '../PSDesiredStateConfiguration/2.0.7/PSDesiredStateConfiguration.psd1' -Force -PassThru
9+
$PSDesiredStateConfiguration = Import-Module "$PSScriptRoot/../PSDesiredStateConfiguration/2.0.7/PSDesiredStateConfiguration.psd1" -Force -PassThru
1010
}
1111
else {
1212
$env:PSModulePath += ";$env:windir\System32\WindowsPowerShell\v1.0\Modules"

0 commit comments

Comments
 (0)