File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This file is used to configure the Process-PSModule workflow.
22# Reference:
33# - https://github.com/PSModule/Process-PSModule?tab=readme-ov-file#configuration
4-
54Test :
5+ SourceCode :
6+ Skip : true
7+ PSModule :
8+ Skip : true
9+ Module :
10+ MacOS :
11+ Skip : true
12+ Windows :
13+ Skip : true
14+ TestResults :
15+ Skip : true
616 CodeCoverage :
17+ Skip : true
718 PercentTarget : 0
19+ Build :
20+ Docs :
21+ Skip : true
Original file line number Diff line number Diff line change 5353 if (Test-Path $Path ) {
5454 $file = Get-Item - Path $Path
5555 $Size = $file.Length
56- }
57- if (-not (Test-Path $Path )) {
58- $null = New-Item - ItemType Directory - Path $directory - Force
56+ } else {
57+ $null = New-Item - Path $Path - ItemType File - Force
5958 }
6059 return [System.IO.MemoryMappedFiles.MemoryMappedFile ]::CreateFromFile(
6160 $Path ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ param()
1212Describe ' Module' {
1313 Context ' MemoryMappedFile' {
1414 It ' New-MemoryMappedFile' {
15- $fileName = ' $HOME\test.json'
15+ $fileName = " $HOME \test.json"
1616 $size = 1024
1717 $mmf = New-MemoryMappedFile - Name ' shared' - Path $fileName - Size $size
1818 $mmf | Should -Not - BeNullOrEmpty
You can’t perform that action at this time.
0 commit comments