Skip to content

Commit 77df03c

Browse files
committed
Fix issue overwriting existing file
1 parent bfd06dc commit 77df03c

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
@@ -179,7 +179,7 @@ function Update-BowerLibrary ($name, $version = $null) {
179179
$jsFile = $minJsFile
180180
}
181181

182-
cp $jsFile $oldVersionFolder.Name
182+
cp $jsFile $oldVersionFolder.Name -Force
183183

184184
Update-JavaScriptLibrary $folderName $newVersion
185185
}

0 commit comments

Comments
 (0)