Skip to content

Commit 370f621

Browse files
gengjiawenRafaelGSS
authored andcommitted
build: add extra semi check
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>
1 parent 2d32835 commit 370f621

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

node.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
'-W',
9797
'-Wno-unused-parameter',
9898
'-Werror=undefined-inline',
99+
'-Werror=extra-semi',
99100
],
100101
},
101102

node.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
'conditions': [
2929
[ 'clang==1', {
30-
'cflags': [ '-Werror=undefined-inline', ]
30+
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
3131
}],
3232
[ '"<(_type)"=="executable"', {
3333
'msvs_settings': {

0 commit comments

Comments
 (0)