-
Notifications
You must be signed in to change notification settings - Fork 79
Taipei Nov 22 #77
Comments
Not sure these are good for
|
@gireeshpunathil The only warnings at the moment are about |
Ah, ok. I double-checked the long list of warnings I usually get now, and see a number of warnings, but they are from SSL sources, which we don't have any control of. Thanks for clarifying! |
So here are the fixes I'm planning to run and the files they are related to. I only need around 35, so there should be some leftovers for tokyo. It is worth mentioning that there seems to be quite a bit of setTimeouts that are not using common.platformTimeout, perhaps there is a reason for this and I shouldn't get people to update all of these, but it seems like a good way to gather a non trivial number of changes for a larger event (such as tokyo). Please let me know asap if you see any of these changes being problematic Add missing common.crashOnUnhandledRejection: (all issues use promises or await)
Replace fs.accessSync with common.fileExists
Replace string concatenation with template literals
|
Sorry, but please please please do not add |
Thanks for the heads up.
I'll drop those ones.
With that in mind I need about 10 more, any suggestions?
|
A simple one might be replacing |
Here's an easy one: I believe the The following 33 files all have at least once case of string concatenation where template literals might be better. (You'll probably want to take a peek at the files to confirm that these aren't somehow non-trivial or cases where string concatenation really might be better. If you only need a few, stick to
|
thanks @Trott added to original comment |
I think you should totally go with them for tasks, but be aware that there's probably going to be some coaching needed a bit on the "use template literals rather than string concatenation" task. For example, in 'WARNING: You are likely using a version of node-tar or npm that ' +
'is incompatible with this version of Node.js.' + os.EOL +
'Please use either the version of npm that is bundled with Node.js, or ' +
'a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is ' +
'compatible with Node.js 9 and above.' + os.EOL The concatenation across lines is totally fine. It's the concatenation within a line (the You'll need to either explain that sort of thing in writing, or else just make sure all the mentors know the deal. Worst case, though, is it comes back as a nit in the PR, so...¯\(ツ)/¯ |
All done and lots of great PRs. Thanks for helping with review y'all |
I'll be working with about 35 folks to get their first PRs in
Could use some help with generating content
/cc @Trott
We will be working on
Add missing common.crashOnUnhandledRejection: (all issues use promises or await)
Replace fs.accessSync with common.fileExists
Replace string concatenation with template literals
The text was updated successfully, but these errors were encountered: