| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
removed unneccessary curly braces and return statement from inspect arrow function updated `assert.throws` regex to look for exact match at start of string
Sorry, something went wrong.
|
I personally find the removal of the curly braces more difficult to read, so I'm -1 on that part, but +1 on the other change. |
Sorry, something went wrong.
The way it is in this PR (no braces around an arrow function body if they are not required) is definitely the more common approach in our code base by a large margin: 474 vs 22. So I'm +1 on the change here (and making it 475 vs 21) in the hopes of one day getting us to a consistent style. (For the record, I don't have a strong personal preference for either style. I just want to stop seeing comments in both directions on pull requests. I want us to pick one, enforce it in the linter, and be done with it. :-D ) (EDIT: I do have a mild preference for explicit braces, but a much stronger preference for consistency.) |
Sorry, something went wrong.
|
I am not sure why the test/arm CI is failing. when I follow the details link it says successful. Is there something I am missing |
Sorry, something went wrong.
|
@jonniedarko don't worry about that, CI is 100% green. |
Sorry, something went wrong.
|
👍 |
Sorry, something went wrong.
removed unneccessary curly braces and return statement from inspect arrow function updated `assert.throws` regex to look for exact match at start of string PR-URL: #11039 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
@jasnell landed with wrong subsystem in commit title? Maybe there is still time to fix it. |
Sorry, something went wrong.
|
@lpinca Nah, 10 min window has passed :( Edit: Just realized you commented well within the time-limit. Sorry :D |
Sorry, something went wrong.
|
@jasnell so I know for future, should it of been test rather than test-console? |
Sorry, something went wrong.
removed unneccessary curly braces and return statement from inspect arrow function updated `assert.throws` regex to look for exact match at start of string PR-URL: #11039 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
removed unneccessary curly braces and return statement from inspect arrow function updated `assert.throws` regex to look for exact match at start of string PR-URL: #11039 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
removed unneccessary curly braces and return statement from inspect arrow function updated `assert.throws` regex to look for exact match at start of string PR-URL: #11039 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
removed unnecessary curly braces and return statement from the inspect arrow function
updated assert.throws regex to look for an exact match at the start of the string
Checklist