mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-23 18:41:48 -08:00
👕 Fix lint issue
This commit is contained in:
parent
cb2887a8ab
commit
446c284540
|
@ -76,9 +76,9 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
|
||||
import {
|
||||
INodeParameters,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
@ -158,7 +158,7 @@ export default mixins(
|
|||
return true;
|
||||
}
|
||||
|
||||
const nodeValues = {};
|
||||
const nodeValues: INodeParameters = {};
|
||||
let rawValues = this.nodeValues;
|
||||
if (this.path) {
|
||||
rawValues = get(this.nodeValues, this.path);
|
||||
|
@ -169,7 +169,7 @@ export default mixins(
|
|||
let key: string;
|
||||
let i = 0;
|
||||
do {
|
||||
key = resolveKeys.shift();
|
||||
key = resolveKeys.shift() as string;
|
||||
if (typeof rawValues[key] === 'string' && rawValues[key].charAt(0) === '=') {
|
||||
// Contains an expression that
|
||||
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
|
||||
resolveExpression (expression: string, siblingParameters: INodeParameters) {
|
||||
resolveExpression (expression: string, siblingParameters: INodeParameters = {}) {
|
||||
const inputIndex = 0;
|
||||
const itemIndex = 0;
|
||||
const runIndex = 0;
|
||||
|
|
Loading…
Reference in a new issue