👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2021-05-15 00:36:41 -05:00
parent cb2887a8ab
commit 446c284540
2 changed files with 4 additions and 4 deletions

View File

@@ -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))) {