Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getRotatingFileSink need file exist #9

Closed
leavesster opened this issue Aug 22, 2024 · 1 comment
Closed

getRotatingFileSink need file exist #9

leavesster opened this issue Aug 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@leavesster
Copy link

leavesster commented Aug 22, 2024

logtape/sink.ts

options.statSync(path) will throw a error if the log file not exist. So it need the log file exit which seems weird.

@dahlia dahlia self-assigned this Aug 22, 2024
@dahlia dahlia added the bug Something isn't working label Aug 22, 2024
@dahlia
Copy link
Owner

dahlia commented Aug 22, 2024

Fixed in 0.4.3 (JSR & npm)!

@dahlia dahlia closed this as completed in 18836e0 Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants