mirror of
https://github.com/danbulant/jose
synced 2026-05-22 05:49:01 +00:00
style: use prettier
This commit is contained in:
parent
ebba2467be
commit
7dc0226baf
2 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue