Closed kitsonk closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.00%. Comparing base (
b6141a6
) to head (e195e73
). Report is 1 commits behind head on main.:exclamation: Current head e195e73 differs from pull request most recent head 683171e
Please upload reports for the commit 683171e to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for your contribution!
The lint seemed to fail. Could you check it out?
error[no-slow-types]: found destructuring, which is not supported in the public API --> /Users/runner/work/logtape/logtape/logtape/mod.ts:35:14 | 35 | export const { getFileSink, getRotatingFileSink } = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = hint: separate each destructured symbol into its own export statement info: destructuring can not be inferred by fast check docs: https://jsr.io/go/slow-type-unsupported-destructuring
Yeah, forgot to do a publish dry run... It should pass now.
Fixes #3
This dynamic imports the filesink module based on if it is Deno or not, as well as safely access the Deno namespace for top level code that is evaluated when modules are loaded (which occurs when Cloudflare Workers create bundles).