Skip to content

Commit 714ce80

Browse files
authored
Merge pull request #5362 from dotty-staging/sbt-dotty-0.2.6
sbt-dotty: fix extension upgrade on Windows, release 0.2.6
2 parents 42cfb36 + 42888f5 commit 714ce80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ object Build {
3737
val scalacVersion = "2.12.7"
3838

3939
val baseVersion = "0.11.0"
40-
val baseSbtDottyVersion = "0.2.6"
40+
val baseSbtDottyVersion = "0.2.7"
4141

4242
// Versions used by the vscode extension to create a new project
4343
// This should be the latest published releases.
4444
// TODO: Have the vscode extension fetch these numbers from the Internet
4545
// instead of hardcoding them ?
4646
val publishedDottyVersion = "0.11.0-bin-20181031-5a465af-NIGHTLY" // Using a nightly for now to get worksheet support
47-
val publishedSbtDottyVersion = "0.2.5"
47+
val publishedSbtDottyVersion = "0.2.6"
4848

4949

5050
val dottyOrganization = "ch.epfl.lamp"

sbt-dotty/src/dotty/tools/sbtplugin/DottyIDEPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ object DottyIDEPlugin extends AutoPlugin {
197197
*/
198198
def installCodeExtension(codeCmd: Seq[String], name: String): Unit = {
199199
try {
200-
runProcess(codeCmd ++ Seq("--install-extension", name), wait = true)
200+
runProcess(codeCmd ++ Seq("--force", "--install-extension", name), wait = true)
201201
} catch {
202202
case e: Exception =>
203203
var alreadyInstalled: Boolean = false

0 commit comments

Comments
 (0)