From 282ca3acd8fc1dc7f0db32bd7507218bc98c31c5 Mon Sep 17 00:00:00 2001 From: Anton Sviridov Date: Thu, 21 Sep 2023 16:16:38 +0100 Subject: [PATCH] Correctly move generated scip file in SBT build tool --- .../com/sourcegraph/scip_java/buildtools/SbtBuildTool.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scip-java/src/main/scala/com/sourcegraph/scip_java/buildtools/SbtBuildTool.scala b/scip-java/src/main/scala/com/sourcegraph/scip_java/buildtools/SbtBuildTool.scala index 8ac28d71a..bc2d6ee11 100644 --- a/scip-java/src/main/scala/com/sourcegraph/scip_java/buildtools/SbtBuildTool.scala +++ b/scip-java/src/main/scala/com/sourcegraph/scip_java/buildtools/SbtBuildTool.scala @@ -51,7 +51,7 @@ class SbtBuildTool(index: IndexCommand) extends BuildTool("sbt", index) { .resolve("sbt-sourcegraph") .resolve("index.scip") if (sourcegraphScip.exitCode == 0 && Files.isRegularFile(inputDump)) { - val outputDump = index.workingDirectory.resolve("index.scip") + val outputDump = index.workingDirectory.resolve(index.output) Files.copy(inputDump, outputDump, StandardCopyOption.REPLACE_EXISTING) index.app.info(outputDump.toString) }