mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
remove cast to StringlikeLiteral
This commit is contained in:
@@ -79,7 +79,7 @@ abstract class RenderCall extends MethodCall {
|
||||
}
|
||||
|
||||
private string getTemplatePathValue() {
|
||||
result = this.getTemplatePathArgument().(StringlikeLiteral).getValueText()
|
||||
result = this.getTemplatePathArgument().getValueText()
|
||||
}
|
||||
|
||||
// everything up to and including the final slash, but ignoring any leading slash
|
||||
|
||||
Reference in New Issue
Block a user