Merge pull request #1960 from asflierl/0.13

Honor overwrite flag when publishing locally.
This commit is contained in:
eugene yokota 2015-04-14 11:54:10 -07:00
commit 7081c06a36
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ private[sbt] object ConvertResolver {
if (totalLength > 0) {
progress.setTotalLength(totalLength);
}
FileUtil.copy(source, new java.io.File(url.toURI), progress)
FileUtil.copy(source, new java.io.File(url.toURI), progress, overwrite)
} catch {
case ex: IOException =>
fireTransferError(ex)