mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
ci: Fix linting on builds (no-changelog) (#5062)
add exceptions for the no-interpolation-in-regular-string rule
This commit is contained in:
committed by
GitHub
parent
0b47f9ce4e
commit
99e3eb634b
@@ -504,6 +504,7 @@ export async function pgUpdate(
|
||||
} else {
|
||||
const where =
|
||||
' WHERE ' +
|
||||
// eslint-disable-next-line n8n-local-rules/no-interpolation-in-regular-string
|
||||
updateKeys.map((entry) => pgp.as.name(entry.name) + ' = ${' + entry.prop + '}').join(' AND ');
|
||||
if (mode === 'transaction') {
|
||||
return db.tx(async (t) => {
|
||||
@@ -625,6 +626,7 @@ export async function pgUpdateV2(
|
||||
} else {
|
||||
const where =
|
||||
' WHERE ' +
|
||||
// eslint-disable-next-line n8n-local-rules/no-interpolation-in-regular-string
|
||||
updateKeys.map((entry) => pgp.as.name(entry.name) + ' = ${' + entry.prop + '}').join(' AND ');
|
||||
if (mode === 'transaction') {
|
||||
return db.tx(async (t) => {
|
||||
|
||||
Reference in New Issue
Block a user