Skip to content

Commit bb6b2ce

Browse files
redsun82owen-mc
andauthored
Update actions/ql/lib/codeql/actions/test/internal/InlineExpectationsTestImpl.qll
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com>
1 parent 13a73b5 commit bb6b2ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/ql/lib/codeql/actions/test/internal/InlineExpectationsTestImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Impl implements InlineExpectationsTestSig {
66
class ExpectationComment extends YamlNode {
77
ExpectationComment() { this.toString().matches("%$ %") }
88

9-
string getContents() { result = "$ " + this.toString().regexpCapture(".*\\$ (.*)", 1) }
9+
string getContents() { result = this.toString().regexpCapture(".*(\\$ .*)", 1) }
1010
}
1111

1212
class Location = L::Location;

0 commit comments

Comments
 (0)