-
Notifications
You must be signed in to change notification settings - Fork 459
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
Format all code #1160
Format all code #1160
Conversation
JavaScript code was formatted via:
Not all JavaScript was auto-fixable and provided this remaining output log:
C++ code was formatted via:
... and produced this output:
|
Performed C++ formatting again after a fresh
and provided output:
|
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.
LGTM
I installed an ubuntu-18.04 virtual machine and all tests passed on node 14 using both g++ 7 and g++ 6.5 (which is used in the CI), including 100 runs of I am looking at the failure log of test (node/14, gcc, ubuntu-18.04) and one thing I notice is it builds the addon using node 16, is this expected?
|
Furthermore, this console message is apparent in the same failure log of test (node/14, gcc, ubuntu-18.04):
However, I do not get this warning in my local testing with node 14. Are we sure that the CI is using the correct node versions? |
Hi @mhdawson and team @NickNaso @gabrielschulhof @legendecas, I have rebased to |
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.
LGTM
@KevinEady can you rebase |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @mhdawson , rebased |
Reformat all code to pass current linter checks PR-URL: #1160 Reviewed-By: Michael Dawson <midawson@redhat.com Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Landed as 10b440f. @KevinEady thanks for all your work on this. |
Reformat all code to pass current linter checks PR-URL: nodejs/node-addon-api#1160 Reviewed-By: Michael Dawson <midawson@redhat.com Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reformat all code to pass current linter checks PR-URL: nodejs/node-addon-api#1160 Reviewed-By: Michael Dawson <midawson@redhat.com Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reformat all code to pass current linter checks PR-URL: nodejs/node-addon-api#1160 Reviewed-By: Michael Dawson <midawson@redhat.com Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reformat all code to pass current linter checks PR-URL: nodejs/node-addon-api#1160 Reviewed-By: Michael Dawson <midawson@redhat.com Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Format all JavaScript via
eslint
and all C++ viaclang-format
.Fixes: #1146