mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
ci: Setup biome and pre-commit hooks for formatting (no-changelog) (#10795)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
57836cc17a
commit
6a35812f92
@@ -536,8 +536,10 @@ 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 ');
|
||||
updateKeys
|
||||
// eslint-disable-next-line n8n-local-rules/no-interpolation-in-regular-string
|
||||
.map((entry) => pgp.as.name(entry.name) + ' = ${' + entry.prop + '}')
|
||||
.join(' AND ');
|
||||
if (mode === 'transaction') {
|
||||
return await db.tx(async (t) => {
|
||||
const result: IDataObject[] = [];
|
||||
@@ -664,8 +666,10 @@ 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 ');
|
||||
updateKeys
|
||||
// eslint-disable-next-line n8n-local-rules/no-interpolation-in-regular-string
|
||||
.map((entry) => pgp.as.name(entry.name) + ' = ${' + entry.prop + '}')
|
||||
.join(' AND ');
|
||||
if (mode === 'transaction') {
|
||||
return await db.tx(async (t) => {
|
||||
const result: IDataObject[] = [];
|
||||
|
||||
Reference in New Issue
Block a user