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: |
|
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 |
|
@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
eslintand all C++ viaclang-format.Fixes: #1146