Skip to content

Commit c9efd56

Browse files
committed
Move some alerts
1 parent 3d0cfdd commit c9efd56

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

javascript/ql/test/query-tests/Electron/NodeIntegration/EnablingNodeIntegration.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
const {BrowserWindow} = require('electron')
22

33
function test() {
4-
var unsafe_1 = { // $ Alert - both enabled
4+
var unsafe_1 = { // both enabled
55
webPreferences: {
66
nodeIntegration: true,
77
nodeIntegrationInWorker: true,
88
plugins: true,
99
webSecurity: true,
1010
sandbox: true
11-
}
11+
} // $ Alert
1212
};
1313

14-
var options_1 = { // $ Alert - `nodeIntegrationInWorker` enabled
14+
var options_1 = { // `nodeIntegrationInWorker` enabled
1515
webPreferences: {
1616
plugins: true,
1717
nodeIntegrationInWorker: false,
1818
webSecurity: true,
1919
sandbox: true
20-
}
20+
} // $ Alert
2121
};
2222

23-
var pref = { // $ Alert - implicitly enabled
23+
var pref = { // implicitly enabled
2424
plugins: true,
2525
webSecurity: true,
2626
sandbox: true
27-
};
27+
}; // $ Alert
2828

2929
var options_2 = { // $ Alert - implicitly enabled
3030
webPreferences: pref,

0 commit comments

Comments
 (0)