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 juanarbol committed Jan 31, 2023
1 parent be85d5a commit 3bf2371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions node.gyp
Expand Up @@ -98,6 +98,7 @@
'-W',
'-Wno-unused-parameter',
'-Werror=undefined-inline',
'-Werror=extra-semi',
],
},

Expand Down
2 changes: 1 addition & 1 deletion node.gypi
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 3bf2371

Please sign in to comment.