Skip to content

Commit 1a45cfe

Browse files
authored
Switch to stable erlfmt (#284)
1 parent 648f0cf commit 1a45cfe

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

rebar.config

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
%% https://github.com/markusn/coveralls-erl/pull/36
1414
{coveralls, ".*",
1515
{git, "https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}},
16-
%% Revert back to released version when this PR is merged & released:
17-
%% https://github.com/WhatsApp/erlfmt/pull/351
18-
{erlfmt, ".*", {git, "https://github.com/maennchen/erlfmt.git", {branch, "support_maybe"}}},
16+
{erlfmt, "~> 1.3"},
1917
rebar3_hank,
2018
rebar3_lint
2119
]}.

src/oidcc_token.erl

+6-5
Original file line numberDiff line numberDiff line change
@@ -985,11 +985,12 @@ add_authentication(
985985
},
986986

987987
maybe
988-
#jose_jwk{} = OctJwk ?=
989-
oidcc_jwt_util:client_secret_oct_keys(
990-
AdjustedAllowAlgorithms,
991-
ClientSecret
992-
),
988+
#jose_jwk{} =
989+
OctJwk ?=
990+
oidcc_jwt_util:client_secret_oct_keys(
991+
AdjustedAllowAlgorithms,
992+
ClientSecret
993+
),
993994
{ok, ClientAssertion} ?=
994995
signed_client_assertion(
995996
AdjustedClientContext,

0 commit comments

Comments
 (0)