mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Add rule no-constant-binary-expression (no-changelog) (#7670)
https://eslint.org/docs/latest/rules/no-constant-binary-expression
This commit is contained in:
@@ -84,7 +84,7 @@ export function updateDisplayOptions(
|
||||
|
||||
export function processJsonInput<T>(jsonData: T, inputName?: string) {
|
||||
let values;
|
||||
const input = `'${inputName}' ` || '';
|
||||
const input = inputName ? `'${inputName}' ` : '';
|
||||
|
||||
if (typeof jsonData === 'string') {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user