Skip to content

Commit 3bf2371

Browse files
gengjiawenjuanarbol
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 be85d5a commit 3bf2371

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
@@ -98,6 +98,7 @@
9898
'-W',
9999
'-Wno-unused-parameter',
100100
'-Werror=undefined-inline',
101+
'-Werror=extra-semi',
101102
],
102103
},
103104

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)