Skip to content

Commit

Permalink
Correctly move generated scip file in SBT build tool
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Sep 21, 2023
1 parent f37bc75 commit 282ca3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 282ca3a

Please sign in to comment.