style: use prettier

This commit is contained in:
Filip Skokan 2021-08-20 15:26:16 +02:00
parent ebba2467be
commit 7dc0226baf
2 changed files with 5 additions and 3 deletions

View file

@ -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);
}

View file

@ -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);