Skip to content

Commit

Permalink
add nosemgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisArdern committed Aug 9, 2023
1 parent a04616d commit d45833e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swift/webview/webview-js-window.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rules:
$P.JavaScriptCanOpenWindowsAutomatically = $FALSE
...
$P.JavaScriptCanOpenWindowsAutomatically = $TRUE
# nosemgrep: swift-webview-config-allows-js-open-windows
# nosemgrep
- pattern-not-inside: |
...
$P.JavaScriptCanOpenWindowsAutomatically = $TRUE
Expand All @@ -50,7 +50,7 @@ rules:
- patterns:
- pattern: |
$P.JavaScriptCanOpenWindowsAutomatically = true
# nosemgrep: swift-webview-config-allows-js-open-windows
# nosemgrep
- pattern-not-inside: |
...
$P.JavaScriptCanOpenWindowsAutomatically = ...
Expand Down

0 comments on commit d45833e

Please sign in to comment.