mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Ruby: replace use of deprecated getStringOrSymbol()
This commit is contained in:
@@ -364,7 +364,7 @@ private class CipherMode extends TCipherMode {
|
||||
}
|
||||
|
||||
private string getStringArgument(DataFlow::CallNode call, int i) {
|
||||
result = call.getArgument(i).asExpr().getConstantValue().getStringOrSymbol()
|
||||
result = call.getArgument(i).asExpr().getConstantValue().getStringlikeValue()
|
||||
}
|
||||
|
||||
private int getIntArgument(DataFlow::CallNode call, int i) {
|
||||
|
||||
Reference in New Issue
Block a user