-
Notifications
You must be signed in to change notification settings - Fork 60
fix(toolkit-lib): create notices cache dir #545
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
fix(toolkit-lib): create notices cache dir #545
Conversation
e2487bf to
82fcd4e
Compare
|
|
||
| private async save(cached: CachedNotices): Promise<void> { | ||
| try { | ||
| await fs.ensureFile(this.fileName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No test?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #545 +/- ##
=======================================
Coverage 79.09% 79.09%
=======================================
Files 47 47
Lines 7074 7074
Branches 790 791 +1
=======================================
Hits 5595 5595
Misses 1460 1460
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Test cases for #545 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Fixes #541
This PR ensures that the notices cache file exists before attempting to write to it.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license