You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a triple quoted string contains "$" characters, Scapegoat produces a false positive warning for "Looks like interpolated String". The use of triple quote Strings in Scala to pass query strings or commands to other processors/applications is quite common, in our case they are forNe04j.
example: val someVariable = s"""MATCH (n :$METRICS_COLLECTION {_id: $$metricID}) RETURN COUNT(*) AS c"""
The text was updated successfully, but these errors were encountered:
When a triple quoted string contains "$" characters, Scapegoat produces a false positive warning for "Looks like interpolated String". The use of triple quote Strings in Scala to pass query strings or commands to other processors/applications is quite common, in our case they are forNe04j.
example:
val someVariable = s"""MATCH (n :$METRICS_COLLECTION {_id: $$metricID}) RETURN COUNT(*) AS c"""
The text was updated successfully, but these errors were encountered: