Skip to content

Commit 4567095

Browse files
committed
Fix error in new package script
If you don't capture the output of mkdir, it pollutes the return value
1 parent 627a4a8 commit 4567095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JsLibraryPackaging.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function New-BowerLibrary ($name) {
8383

8484
function New-JavaScriptLibrary ($name, $version, $jsFileName) {
8585
$versionedFolder = "$($name)_$version"
86-
mkdir $versionedFolder
86+
mkdir $versionedFolder | Out-Null
8787

8888
$manifestFile = "$versionedFolder\$name.dnn"
8989
cp _template\library.dnn $manifestFile

0 commit comments

Comments
 (0)