remove cast to StringlikeLiteral

This commit is contained in:
Alex Ford
2021-10-12 15:27:26 +01:00
parent 44499cab51
commit 909cdacb1a

View File

@@ -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