mirror of https://github.com/sbt/sbt.git
Honor overwrite flag when publishing locally.
This commit is contained in:
parent
5a53433d70
commit
e647412bf6
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue