Skip to content

Commit b09d9f6

Browse files
committed
PS: Autoformat.
1 parent c9b1356 commit b09d9f6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

powershell/ql/lib/semmle/code/powershell/ast/internal/MemberExpr.qll

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class MemberExpr extends Expr, TMemberExpr {
2929

3030
/** Gets the name of the member being looked up, if any. */
3131
string getMemberName() {
32-
result = getRawAst(this).(Raw::MemberExpr).getMember().(Raw::StringConstExpr).getValue().getValue()
32+
result =
33+
getRawAst(this).(Raw::MemberExpr).getMember().(Raw::StringConstExpr).getValue().getValue()
3334
}
3435

3536
predicate isNullConditional() { getRawAst(this).(Raw::MemberExpr).isNullConditional() }
@@ -42,9 +43,7 @@ class MemberExpr extends Expr, TMemberExpr {
4243
explicitAssignment(getRawAst(this), getRawAst(assignment))
4344
}
4445

45-
predicate isImplicitWrite() {
46-
implicitAssignment(getRawAst(this))
47-
}
46+
predicate isImplicitWrite() { implicitAssignment(getRawAst(this)) }
4847
}
4948

5049
/** A `MemberExpr` that is being written to. */

0 commit comments

Comments
 (0)