Skip to content

Commit a9555f7

Browse files
fixed linux path resolution
1 parent 034aaad commit a9555f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PSModuleDevelopment/PSModuleDevelopment.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function Import-PSMDFile
2929
$Path
3030
)
3131

32-
if ($script:doDotSource) { . $Path }
32+
if ($script:doDotSource) { . (Resolve-Path $Path) }
3333
else { $ExecutionContext.InvokeCommand.InvokeScript($false, ([scriptblock]::Create([io.file]::ReadAllText($(Resolve-Path $Path)))), $null, $null) }
3434
}
3535
#endregion Helper function

0 commit comments

Comments
 (0)