You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't used Scalariform before, but it seems like meaningful assumption that sbt compile would not change the sources, from what's in the repo. Now it does.
git clone
sbt compile
$ git diff
diff --git a/src/main/scala/sample/stream/GroupLogFile.scala b/src/main/scala/sample/stream/GroupLogFile.scala
index d886c44..dcc7477 100644
--- a/src/main/scala/sample/stream/GroupLogFile.scala
+++ b/src/main/scala/sample/stream/GroupLogFile.scala
@@ -30,8 +30,8 @@ object GroupLogFile {
via(Framing.delimiter(ByteString(System.lineSeparator), maximumFrameLength = 512, allowTruncation = true)).
map(_.utf8String).
map {
- case line@LoglevelPattern(level) => (level, line)
- case line@other => ("OTHER", line)
+ case line @ LoglevelPattern(level) => (level, line)
+ case line @ other => ("OTHER", line)
}.
// group them by log level
groupBy(5, _._1).
The text was updated successfully, but these errors were encountered:
I haven't used Scalariform before, but it seems like meaningful assumption that
sbt compile
would not change the sources, from what's in the repo. Now it does.sbt compile
The text was updated successfully, but these errors were encountered: