Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dana-gill committed Dec 20, 2024
1 parent ce48d76 commit c6702ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import type {
QueriesRunner,
QueryWithValues,
} from '../../helpers/interfaces';

import { isJSON, replaceEmptyStringsByNulls, stringToArray } from '../../helpers/utils';

Check failure on line 17 in packages/nodes-base/nodes/Postgres/v2/actions/database/executeQuery.operation.ts

View workflow job for this annotation

GitHub Actions / Lint / Lint

There should be no empty line within import group

import { optionsCollection } from '../common.descriptions';
Expand Down Expand Up @@ -86,7 +85,8 @@ export async function execute(
const resolvables = getResolvables(rawValues);
if (resolvables.length) {
for (const resolvable of resolvables) {
const evaluatedExpression = this.evaluateExpression(`${resolvable}`, index)?.toString()??'';
const evaluatedExpression =
this.evaluateExpression(`${resolvable}`, index)?.toString() ?? '';
const evaluatedValues = isJSON(evaluatedExpression)
? [evaluatedExpression]
: stringToArray(evaluatedExpression);
Expand Down

0 comments on commit c6702ec

Please sign in to comment.