Skip to content

Commit 0a25a6a

Browse files
comp500r15ch13
authored andcommitted
Prevent directory creation from being output (#1999)
1 parent 7c548c9 commit 0a25a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ function persist_data($manifest, $original_dir, $persist_dir) {
10091009
Move-Item $source $target
10101010
} elseif($target.GetType() -eq [System.IO.DirectoryInfo]) {
10111011
# if there is no source and it's a directory we create an empty directory
1012-
ensure $target.FullName
1012+
ensure $target.FullName | out-null
10131013
}
10141014
} elseif ($source.Exists) {
10151015
# (re)move original (keep a copy)

0 commit comments

Comments
 (0)