Skip to content

Commit

Permalink
enquoted => backslashed
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed May 11, 2024
1 parent b7f73ec commit a86a835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/main/scala/com/github/sbt/jni/build/Cargo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Cargo(protected val configuration: Seq[String]) extends BuildTool {
def clean(): Unit = Process("cargo clean", baseDirectory) ! log

def library(targetDirectory: File): List[File] = {
val configurationString = (configuration ++ Seq("--target-dir", targetDirectory.getAbsolutePath.enquoted)).mkString(" ").trim
val configurationString = (configuration ++ Seq("--target-dir", targetDirectory.getAbsolutePath.backslashed)).mkString(" ").trim
val ev =
Process(
s"cargo build $configurationString",
Expand Down

0 comments on commit a86a835

Please sign in to comment.