-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
lib,test,benchmark: simplify code with String.prototype.repeat() #5359
Conversation
like #5311 . |
Linter failed:
|
Also this test is failing on all platforms:
|
00753aa
to
34c6b03
Compare
Hi @mscdex , I updated the PR. |
CI is all green |
LGTM |
use String.prototype.repeat() to simplify code, less code, more semantically.
Rebased with master. |
LGTM |
use String.prototype.repeat() to simplify code, less code, more semantically. PR-URL: #5359 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 4d78121 |
@jasnell Landing this has broken |
I'll put together a fix unless someone beats me to it. |
I am sorry, Let me fix it. @Trott . |
I already opened #5840, but thanks! |
(And no worries, this isn't the first time this sort of thing has happened, the problem is our process not anything you did wrong.) |
Yep, not your fault at all @JacksonTian ... I'm the one who missed the step. I saw the green CI without checking the date and forgot to run |
Yeah, we've got a lot of opportunities for automation, for sure. |
use String.prototype.repeat() to simplify code, less code, more semantically. PR-URL: #5359 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
I've manually added the linting changes while backporting. @Trott I've marked your linting PR as don't land on v4 |
use String.prototype.repeat() to simplify code, less code, more semantically. PR-URL: #5359 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
use String.prototype.repeat() to simplify code, less code, more semantically. PR-URL: #5359 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
use String.prototype.repeat() to simplify code, less code, more
semantically.