Skip to content

Commit 909cdac

Browse files
committed
remove cast to StringlikeLiteral
1 parent 44499ca commit 909cdac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/lib/codeql/ruby/frameworks/ActionView.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ abstract class RenderCall extends MethodCall {
7979
}
8080

8181
private string getTemplatePathValue() {
82-
result = this.getTemplatePathArgument().(StringlikeLiteral).getValueText()
82+
result = this.getTemplatePathArgument().getValueText()
8383
}
8484

8585
// everything up to and including the final slash, but ignoring any leading slash

0 commit comments

Comments
 (0)