mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JavaScript: Autoformat all QL files.
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
* @id js/enabling-electron-insecure-content
|
||||
*/
|
||||
|
||||
|
||||
import javascript
|
||||
|
||||
from DataFlow::PropWrite allowRunningInsecureContent, Electron::WebPreferences preferences
|
||||
where allowRunningInsecureContent = preferences.getAPropertyWrite("allowRunningInsecureContent")
|
||||
and allowRunningInsecureContent.getRhs().mayHaveBooleanValue(true)
|
||||
where
|
||||
allowRunningInsecureContent = preferences.getAPropertyWrite("allowRunningInsecureContent") and
|
||||
allowRunningInsecureContent.getRhs().mayHaveBooleanValue(true)
|
||||
select allowRunningInsecureContent, "Enabling allowRunningInsecureContent is strongly discouraged."
|
||||
|
||||
Reference in New Issue
Block a user