mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Avoid use of mkdir alias in *.ps1 and *.psm1 (#8582)
This commit is contained in:
@@ -498,7 +498,7 @@ Describe "Unit tests for line breakpoints on modules" -Tags "CI" {
|
||||
$moduleDirectory = [io.path]::Combine($moduleRoot, $moduleName)
|
||||
$moduleFile = [io.path]::Combine($moduleDirectory, $moduleName + ".psm1")
|
||||
|
||||
mkdir $moduleDirectory 2> $null
|
||||
New-Item -ItemType Directory $moduleDirectory 2> $null
|
||||
|
||||
write-output '
|
||||
function ModuleFunction1
|
||||
|
||||
Reference in New Issue
Block a user