Skip to content

Commit 11d09d6

Browse files
committed
scalafmt and scalafix
1 parent 354a3cf commit 11d09d6

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

sbt-plugin/build.sbt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ inThisBuild(
1717
},
1818
// Scalafix settings
1919
semanticdbEnabled := true,
20-
semanticdbVersion := scalafixSemanticdb.revision,
21-
scalafixDependencies ++= List(
22-
"com.github.liancheng" %% "organize-imports" % "0.6.0"
23-
)
20+
semanticdbVersion := scalafixSemanticdb.revision
2421
)
2522
)
2623

sbt-plugin/src/main/scala/ch/epfl/scala/SubmitDependencyGraph.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ object SubmitDependencyGraph {
4343
Parsers.any.*.map { raw =>
4444
val rawString = raw.mkString
4545
if (rawString.isEmpty) DependencySnapshotInput(None, Vector.empty, Vector.empty)
46-
else JsonParser
47-
.parseFromString(rawString)
48-
.flatMap(Converter.fromJson[DependencySnapshotInput])
49-
.get
46+
else
47+
JsonParser
48+
.parseFromString(rawString)
49+
.flatMap(Converter.fromJson[DependencySnapshotInput])
50+
.get
5051
}.failOnException
5152

5253
private def generate(state: State, input: DependencySnapshotInput): State = {

0 commit comments

Comments
 (0)