Skip to content

Commit 3bf2371

Browse files
gengjiawenjuanarbol
authored andcommitted
build: add extra semi check
PR-URL: #46194 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
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)