Skip to content

Commit c34b089

Browse files
committed
autoformat
1 parent 0372ccc commit c34b089

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

javascript/ql/lib/semmle/javascript/frameworks/CookieLibraries.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ private predicate canHaveSensitiveCookie(DataFlow::Node node) {
7979
* `<cookie-name>=<cookie-value>; Domain=<domain-value>; Secure; HttpOnly`
8080
*/
8181
bindingset[s]
82-
private string getCookieName(string s) {
83-
result = s.regexpCapture("([^=]*)=.*", 1).trim()
84-
}
82+
private string getCookieName(string s) { result = s.regexpCapture("([^=]*)=.*", 1).trim() }
8583

8684
/**
8785
* Holds if the `Set-Cookie` header value contains the specified attribute

0 commit comments

Comments
 (0)