mirror of
https://github.com/github/codeql.git
synced 2026-07-01 01:25:33 +02:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ private import codeql.util.test.InlineExpectationsTest
|
||||
|
||||
module Impl implements InlineExpectationsTestSig {
|
||||
class ExpectationComment extends U::Comment {
|
||||
/** Gets the contents of the given comment, _without_ the preceding comment marker (`//`). */
|
||||
/** Gets the text inside this comment, without the surrounding comment delimiters. */
|
||||
string getContents() { result = this.getCommentText() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user