Skip to content

Commit fac4826

Browse files
authored
Merge pull request #1185 from scala-steward/update/scalafmt-core-3.9.3
Update scalafmt-core to 3.9.3
2 parents 034910f + 75a3ba8 commit fac4826

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

Diff for: .git-blame-ignore-revs

+3
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ e4af65308dbd509e021f2b50c31d6bc5fda41d4a
1212

1313
# Scala Steward: Reformat with scalafmt 3.8.5
1414
d9458f6a8812d77c07b3ef275c3dfaff3390d4a0
15+
16+
# Scala Steward: Reformat with scalafmt 3.9.3
17+
07a8dced3008b511567637a1a11c6833e50c0f82

Diff for: .scalafmt.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.8.6
1+
version = 3.9.3
22

33
runner.dialect = scala213
44

Diff for: modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala

+10-10
Original file line numberDiff line numberDiff line change
@@ -434,18 +434,18 @@ class AstSchemaMaterializer[Ctx] private (
434434
var iteration = 0
435435

436436
while ({
437-
prevCount = typeDefCache.size
438-
iteration += 1
437+
prevCount = typeDefCache.size
438+
iteration += 1
439439

440-
typeDefCache.forEachValue {
441-
case o: ObjectLikeType[_, _] => o.fields
442-
case o: InputObjectType[_] => o.fields
443-
case _ => // do nothing
444-
}
440+
typeDefCache.forEachValue {
441+
case o: ObjectLikeType[_, _] => o.fields
442+
case o: InputObjectType[_] => o.fields
443+
case _ => // do nothing
444+
}
445445

446-
newCount = typeDefCache.size
447-
prevCount != newCount && iteration < 20
448-
}) ()
446+
newCount = typeDefCache.size
447+
prevCount != newCount && iteration < 20
448+
}) ()
449449
}
450450

451451
def getTypeFromExistingType(origin: MatOrigin, tpe: OutputType[_]): OutputType[Any] = tpe match {

Diff for: modules/core/src/main/scala/sangria/validation/rules/overlappingfields/SortedArraySet.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ object SortedArraySet {
8181
members.set(into, first_from)
8282
into += 1
8383
while ({
84-
from += 1
85-
from < members.size() && members.get(from) == first_from
86-
}) ()
84+
from += 1
85+
from < members.size() && members.get(from) == first_from
86+
}) ()
8787
}
8888
members.subList(into, members.size()).clear()
8989
}

0 commit comments

Comments
 (0)