Skip to content

Commit 74cb61a

Browse files
author
edvraa
committed
Autoformat
1 parent 65fb46a commit 74cb61a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

csharp/ql/src/semmle/code/asp/WebConfig.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ class HttpCookiesElement extends XMLElement {
8686
/**
8787
* Holds if there any chance that `httpOnlyCookies` is set to `true`.
8888
*/
89-
predicate isHttpOnlyCookies() {
90-
getHttpOnlyCookies() = "true"
91-
}
89+
predicate isHttpOnlyCookies() { getHttpOnlyCookies() = "true" }
9290

9391
string getRequireSSL() { result = getAttribute("requireSSL").getValue().trim().toLowerCase() }
9492

csharp/ql/src/semmle/code/csharp/frameworks/microsoft/AspNetCore.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ class MicrosoftAspNetCoreBuilderCookiePolicyOptions extends RefType {
322322
/** The `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` class. */
323323
class MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions extends RefType {
324324
MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions() {
325-
this.hasQualifiedName("Microsoft.AspNetCore.Authentication.Cookies", "CookieAuthenticationOptions")
325+
this.hasQualifiedName("Microsoft.AspNetCore.Authentication.Cookies",
326+
"CookieAuthenticationOptions")
326327
}
327328
}
328329

0 commit comments

Comments
 (0)