Skip to content

Commit

Permalink
Merge pull request #122 from exoego/scalafmt
Browse files Browse the repository at this point in the history
Update scalafmt
  • Loading branch information
exoego committed May 11, 2020
2 parents 00c24cb + 2908a26 commit 24bee69
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 2.4.2
version = 2.5.2
newlines.afterCurlyLambda = preserve
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ object MaybeStatementPrincipal {
NotPrincipal: js.UndefOr[PrincipalValue] = js.undefined
): MaybeStatementPrincipal = {
val _obj$ = js.Dynamic.literal(
)
)
Principal.foreach(_v =>
_obj$.updateDynamic("Principal")(_v.asInstanceOf[js.Any])
)
Expand All @@ -236,7 +236,7 @@ object MaybeStatementResource {
NotResource: js.UndefOr[String | js.Array[String]] = js.undefined
): MaybeStatementResource = {
val _obj$ = js.Dynamic.literal(
)
)
Resource.foreach(_v =>
_obj$.updateDynamic("Resource")(_v.asInstanceOf[js.Any])
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ object CognitoUserPoolTriggerEvent {
js.undefined
): Response = {
val _obj$ = js.Dynamic.literal(
)
)
autoConfirmUser.foreach(_v =>
_obj$.updateDynamic("autoConfirmUser")(_v.asInstanceOf[js.Any])
)
Expand Down Expand Up @@ -284,7 +284,7 @@ object CognitoUserPoolTriggerEvent {
groupOverrideDetails: js.UndefOr[Null | js.Any] = js.undefined
): ClaimsOverrideDetails = {
val _obj$ = js.Dynamic.literal(
)
)
claimsToAddOrOverride.foreach(_v =>
_obj$.updateDynamic("claimsToAddOrOverride")(_v.asInstanceOf[js.Any])
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object StreamRecord {
StreamViewType: js.UndefOr[String] = js.undefined
): StreamRecord = {
val _obj$ = js.Dynamic.literal(
)
)
ApproximateCreationDateTime.foreach(_v =>
_obj$.updateDynamic("ApproximateCreationDateTime")(
_v.asInstanceOf[js.Any]
Expand Down Expand Up @@ -77,7 +77,7 @@ object DynamoDBRecord {
userIdentity: js.UndefOr[js.Any] = js.undefined
): DynamoDBRecord = {
val _obj$ = js.Dynamic.literal(
)
)
awsRegion.foreach(_v =>
_obj$.updateDynamic("awsRegion")(_v.asInstanceOf[js.Any])
)
Expand Down

0 comments on commit 24bee69

Please sign in to comment.