Skip to content

Commit

Permalink
Update to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejjozwik committed Oct 26, 2020
1 parent 53918e5 commit e7221e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version = "2.6.3"
version = "2.7.4"
style = defaultWithAlign
align = more
maxColumn = 160
newlines.alwaysBeforeTopLevelStatements = true
continuationIndent.extendSite = 2
spaces.inImportCurlyBraces = true
unindentTopLevelOperators = true
rewrite.rules = [AsciiSortImports]
rewrite.rules = [AsciiSortImports]
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.3.13
sbt.version=1.4.1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class MonixMacro(val c: MacroContext) extends AbstractCrudMacro {
val q = $filter
for {
result <- run(q.updateValue($entity))
t <- if(result == 0){ run($dSchema.insertValue($entity)) } else { monix.eval.Task.now(())}
t <- if(result == 0){ run($dSchema.insertValue($entity)) } else { monix.eval.Task.unit }
r <- run(q)
} yield {
r.headOption.getOrElse(throw new NoSuchElementException(s"$$id"))
Expand Down

0 comments on commit e7221e2

Please sign in to comment.