Skip to content

Commit

Permalink
build: add extra semi check
Browse files Browse the repository at this point in the history
PR-URL: #46194
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
gengjiawen authored and RafaelGSS committed Jan 20, 2023
1 parent 2d32835 commit 370f621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
'-W',
'-Wno-unused-parameter',
'-Werror=undefined-inline',
'-Werror=extra-semi',
],
},

Expand Down
2 changes: 1 addition & 1 deletion node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

'conditions': [
[ 'clang==1', {
'cflags': [ '-Werror=undefined-inline', ]
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
}],
[ '"<(_type)"=="executable"', {
'msvs_settings': {
Expand Down

0 comments on commit 370f621

Please sign in to comment.