Skip to content

Commit f09182e

Browse files
Fix accidental directory return
1 parent 7af5c51 commit f09182e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/vsutil.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function Get-VsEnvironment {
150150
$ScratchDir = Join-Path (Split-Path -Parent $this_dir) "_build"
151151
}
152152

153-
New-Item $ScratchDir -ItemType Directory -ErrorAction Ignore
153+
[void](New-Item $ScratchDir -ItemType Directory -ErrorAction Ignore)
154154

155155
$vs_versions = Get-VsInstallations
156156

0 commit comments

Comments
 (0)