Honor overwrite flag when publishing locally.

This commit is contained in:
Andreas Flierl 2015-04-08 15:01:18 +02:00
parent 5a53433d70
commit e647412bf6
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)