mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Fix lint issue
This commit is contained in:
parent
cb2887a8ab
commit
446c284540
|
@ -76,9 +76,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
INodeParameters,
|
||||||
INodeProperties,
|
INodeProperties,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ export default mixins(
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const nodeValues = {};
|
const nodeValues: INodeParameters = {};
|
||||||
let rawValues = this.nodeValues;
|
let rawValues = this.nodeValues;
|
||||||
if (this.path) {
|
if (this.path) {
|
||||||
rawValues = get(this.nodeValues, this.path);
|
rawValues = get(this.nodeValues, this.path);
|
||||||
|
@ -169,7 +169,7 @@ export default mixins(
|
||||||
let key: string;
|
let key: string;
|
||||||
let i = 0;
|
let i = 0;
|
||||||
do {
|
do {
|
||||||
key = resolveKeys.shift();
|
key = resolveKeys.shift() as string;
|
||||||
if (typeof rawValues[key] === 'string' && rawValues[key].charAt(0) === '=') {
|
if (typeof rawValues[key] === 'string' && rawValues[key].charAt(0) === '=') {
|
||||||
// Contains an expression that
|
// Contains an expression that
|
||||||
if (rawValues[key].includes('$parameter') && resolveKeys.some(parameterName => rawValues[key].includes(parameterName))) {
|
if (rawValues[key].includes('$parameter') && resolveKeys.some(parameterName => rawValues[key].includes(parameterName))) {
|
||||||
|
|
|
@ -338,7 +338,7 @@ export const workflowHelpers = mixins(
|
||||||
},
|
},
|
||||||
|
|
||||||
// Executes the given expression and returns its value
|
// Executes the given expression and returns its value
|
||||||
resolveExpression (expression: string, siblingParameters: INodeParameters) {
|
resolveExpression (expression: string, siblingParameters: INodeParameters = {}) {
|
||||||
const inputIndex = 0;
|
const inputIndex = 0;
|
||||||
const itemIndex = 0;
|
const itemIndex = 0;
|
||||||
const runIndex = 0;
|
const runIndex = 0;
|
||||||
|
|
Loading…
Reference in a new issue