Skip to content

Commit

Permalink
Remove copying env var to .bsp/mill.json
Browse files Browse the repository at this point in the history
  • Loading branch information
joan38 committed Oct 29, 2020
1 parent cc0d0fc commit 00973a3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bsp/src/mill/bsp/BSP.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ object BSP extends ExternalModule {
write(
BspConfigJson(
"mill-bsp",
Seq(
"sh",
"-c",
s"env ${sys.env.map { case (k, v) => s""""$k=$v"""" }.toSeq.mkString(" ")} $millPath -i ${BSP.getClass.getCanonicalName.split("\\$").last}/start"
),
Seq(s"$millPath -i ${BSP.getClass.getCanonicalName.split("\\$").first}/start"),
Util.millProperty("MILL_VERSION").getOrElse(BuildInfo.millVersion),
bspProtocolVersion,
languages
Expand Down

0 comments on commit 00973a3

Please sign in to comment.