Skip to content

Commit 3e7043a

Browse files
gengjiawennodejs-github-bot
authored andcommitted
build: add extra semi check
PR-URL: nodejs#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 8986bf8 commit 3e7043a

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)