diff --git a/.editorconfig b/.editorconfig index 450e73e..7970f0c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,8 @@ charset = utf-8 insert_final_newline = true end_of_line = lf trim_trailing_whitespace = true + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5da1da..672bd2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,3 +32,6 @@ jobs: - name: Test run: | pnpm test + - name: Performance + run: | + pnpm performance diff --git a/dist/index.cjs b/dist/index.cjs index 8a52334..3479e4b 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -854,7 +854,6 @@ async function verifyRFC3230DigestHeader(request, rawBody, failOnNoDigest = true } throw e; } - ; if (hash !== value) { if (errorLogger) errorLogger(`Digest header hash mismatch`); diff --git a/dist/index.mjs b/dist/index.mjs index ac9834e..0638914 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -757,7 +757,6 @@ async function verifyRFC3230DigestHeader(request, rawBody, failOnNoDigest = true } throw e; } - ; if (hash !== value) { if (errorLogger) errorLogger(`Digest header hash mismatch`);