Skip to content

Commit b1fd565

Browse files
finally
1 parent ed5bf53 commit b1fd565

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dbatools.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ if (-not $script:libraryroot) {
5454
try {
5555
# if core add core to the path, otherwise add desktop
5656
if ($PSVersionTable.PSEdition -eq 'Core') {
57-
$script:libraryroot = [System.IO.Path]::Combine($script:libraryroot, 'core', 'dbatools.dll')
57+
$dll = $script:libraryroot = [System.IO.Path]::Combine($script:libraryroot, 'lib', 'core', 'dbatools.dll')
5858
} else {
59-
$script:libraryroot = [System.IO.Path]::Combine($script:libraryroot, 'desktop', 'dbatools.dll')
59+
$dll = $script:libraryroot = [System.IO.Path]::Combine($script:libraryroot, 'lib', 'desktop', 'dbatools.dll')
6060
}
6161
Import-Module $dll
6262
} catch {

0 commit comments

Comments
 (0)