mirror of https://github.com/sbt/sbt.git
Honor overwrite flag when publishing locally.
This commit is contained in:
parent
6b89a134e7
commit
78642cb0ce
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
[@asflierl]: http://github.com/asflierl
|
||||
[1960]: https://github.com/sbt/sbt/pull/1960
|
||||
|
||||
### Fixes with compatibility implications
|
||||
|
||||
### Improvements
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Honor overwrite flag when publishing locally. [#1960][1960] by [@asflierl][@asflierl]
|
||||
Loading…
Reference in New Issue