Skip to content

Commit accfd48

Browse files
committed
autoformat file
1 parent 6acb87d commit accfd48

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ruby/ql/lib/codeql/ruby/ast/Constant.qll

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,13 @@ class ConstantWriteAccess extends ConstantAccess {
202202
* constants up the namespace chain, the fully qualified name of a nested
203203
* constant can be ambiguous from just statically looking at the AST.
204204
*/
205-
string getAQualifiedName() {
206-
result = resolveConstantWriteAccess(this)
207-
}
205+
string getAQualifiedName() { result = resolveConstantWriteAccess(this) }
208206

209207
/**
210208
* Gets a qualified name for this constant. Deprecated in favor of
211209
* `getAQualifiedName` because this can return more than one value
212210
*/
213-
deprecated string getQualifiedName() {
214-
result = this.getAQualifiedName()
215-
}
211+
deprecated string getQualifiedName() { result = this.getAQualifiedName() }
216212
}
217213

218214
/**

0 commit comments

Comments
 (0)