Skip to content

Commit 9fb4746

Browse files
committed
Removed mention of diskpart file beingcreated
1 parent 43bc46e commit 9fb4746

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functions/clone/New-PSDCClone.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157

158158
if(-not (Test-Path -Path $diskpartScriptFile)){
159159
try{
160-
New-Item -Path $diskpartScriptFile -ItemType File
160+
$null = New-Item -Path $diskpartScriptFile -ItemType File
161161
}
162162
catch{
163163
Stop-PSFFunction -Message "Could not create diskpart script file" -ErrorRecord $_ -Continue

functions/disk/New-PSDCVhdDisk.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167

168168
if(-not (Test-Path -Path $diskpartScriptFile)){
169169
try{
170-
New-Item -Path $diskpartScriptFile -ItemType File
170+
$null = New-Item -Path $diskpartScriptFile -ItemType File
171171
}
172172
catch{
173173
Stop-PSFFunction -Message "Could not create diskpart script file" -ErrorRecord $_ -Continue

0 commit comments

Comments
 (0)