CFLint icon indicating copy to clipboard operation
CFLint copied to clipboard

cflint ignore:QUERYPARAM_REQ does not work on multiline code

Open dominic-cm opened this issue 3 years ago • 0 comments

Hi

Just found this out recently cflint ignore:QUERYPARAM_REQ only works in the code is on a single line and the cflint ignore:QUERYPARAM_REQ is at the very end.

if the query spans multiple lines it still reports a QUERYPARAM error.

This has to be on a single line.

var Qry = queryExecute("sql query here with dynamic table name",{},{datasource=Datasource}); //cflint ignore:QUERYPARAM_REQ

dominic-cm avatar Jul 15 '21 00:07 dominic-cm