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
refactor: fs.promises, move mkdir to writeoutputfile, Part 3 #4376
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4376 +/- ##
==========================================
- Coverage 98.72% 98.72% -0.01%
==========================================
Files 205 204 -1
Lines 7320 7315 -5
Branches 2083 2082 -1
==========================================
- Hits 7227 7222 -5
Misses 34 34
Partials 59 59
Continue to review full report at Codecov.
|
8f9d2a2
to
f11edc5
Compare
f11edc5
to
71353db
Compare
2e0c979
to
c130279
Compare
1bab075
to
14df5a1
Compare
Yes, but I think there are some things to consider:
Now the second point is independent of the first, but it makes we wonder in how far we want to think about a more general solution. |
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.
Very nice!
@lukastaegert didn't ignore this, I'll get back to you on that. |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
moves
mkdir
towriteOutputFile
so it'll be called only once per file (not again for the source map file).@lukastaegert do you think it would make sense to drop those in a Set, and only create it once for sure? might improve perf.
I'm guessing it can contain duplicates for:
Note: I had the changes and breaking tests in this PR originally, but I'll move 'em to
Part 4
.