aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/options/phases/AddDefaults.scala
diff options
context:
space:
mode:
authorchick2020-08-14 19:47:53 -0700
committerJack Koenig2020-08-14 19:47:53 -0700
commit6fc742bfaf5ee508a34189400a1a7dbffe3f1cac (patch)
tree2ed103ee80b0fba613c88a66af854ae9952610ce /src/main/scala/firrtl/options/phases/AddDefaults.scala
parentb516293f703c4de86397862fee1897aded2ae140 (diff)
All of src/ formatted with scalafmt
Diffstat (limited to 'src/main/scala/firrtl/options/phases/AddDefaults.scala')
-rw-r--r--src/main/scala/firrtl/options/phases/AddDefaults.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/options/phases/AddDefaults.scala b/src/main/scala/firrtl/options/phases/AddDefaults.scala
index ab342b1e..0ef1832a 100644
--- a/src/main/scala/firrtl/options/phases/AddDefaults.scala
+++ b/src/main/scala/firrtl/options/phases/AddDefaults.scala
@@ -19,7 +19,7 @@ class AddDefaults extends Phase {
override def invalidates(a: Phase) = false
def transform(annotations: AnnotationSeq): AnnotationSeq = {
- val td = annotations.collectFirst{ case a: TargetDirAnnotation => a}.isEmpty
+ val td = annotations.collectFirst { case a: TargetDirAnnotation => a }.isEmpty
(if (td) Seq(TargetDirAnnotation()) else Seq()) ++
annotations