From 7dc0226baffe0e2cb983f3ff83d2e8eee9ad4a1f Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 20 Aug 2021 15:26:16 +0200 Subject: [PATCH] style: use prettier --- test-deno/keylike.test.ts | 2 +- tools/postbump.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/test-deno/keylike.test.ts b/test-deno/keylike.test.ts index e0799754..9edaad56 100644 --- a/test-deno/keylike.test.ts +++ b/test-deno/keylike.test.ts @@ -5,7 +5,7 @@ import keyToJwk from '../dist/deno/jwk/from_key_like.ts'; import calculateThumbprint from '../dist/deno/jwk/thumbprint.ts'; async function test(jwk: JsonWebKey, alg: string) { - await calculateThumbprint(jwk) + await calculateThumbprint(jwk); const keyLike = await jwkToKey(jwk, alg); assertEquals(await keyToJwk(keyLike), jwk); } diff --git a/tools/postbump.js b/tools/postbump.js index c98aa9fe..389baa4d 100755 --- a/tools/postbump.js +++ b/tools/postbump.js @@ -27,7 +27,9 @@ x({ sync: true, }); execSync("npm run build:deno", opts); -execSync("cp docs/README.md dist/deno/README.md") -execSync(`sed -i '' -e 's/](/](https:\\/\\/github.com\\/panva\\/jose\\/blob\\/${tagName}\\/docs\\//g' dist/deno/README.md`) +execSync("cp docs/README.md dist/deno/README.md"); +execSync( + `sed -i '' -e 's/](/](https:\\/\\/github.com\\/panva\\/jose\\/blob\\/${tagName}\\/docs\\//g' dist/deno/README.md` +); execSync("git add docs/**/*.md", opts); execSync("git add dist/**/* -f", opts);