ci: Fix linting on builds (no-changelog) (#5062)

add exceptions for the no-interpolation-in-regular-string rule
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-12-29 14:57:20 +01:00
committed by GitHub
parent 0b47f9ce4e
commit 99e3eb634b
4 changed files with 5 additions and 0 deletions

View File

@@ -351,6 +351,7 @@ export class CrateDb implements INodeType {
const where =
' WHERE ' +
updateKeys
// eslint-disable-next-line n8n-local-rules/no-interpolation-in-regular-string
.map((updateKey) => pgp.as.name(updateKey) + ' = ${' + updateKey + '}')
.join(' AND ');
// updateKeyValue = item.json[updateKey] as string | number;