From a595434cd0cf29d9770074f4a94cc05b22403012 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 20 Sep 2019 14:07:02 +0200 Subject: [PATCH] :shirt: Fix lint issue --- packages/editor-ui/src/components/NodeCreateList.vue | 2 -- packages/editor-ui/src/components/ParameterInput.vue | 2 -- packages/editor-ui/src/views/NodeView.vue | 8 ++++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/editor-ui/src/components/NodeCreateList.vue b/packages/editor-ui/src/components/NodeCreateList.vue index 6a260ea845..a521c40ddd 100644 --- a/packages/editor-ui/src/components/NodeCreateList.vue +++ b/packages/editor-ui/src/components/NodeCreateList.vue @@ -92,8 +92,6 @@ export default Vue.extend({ // Make sure that we do not get before the first nodeType this.activeNodeTypeIndex = Math.max(this.activeNodeTypeIndex, 0); } else if (e.key === 'Enter' && activeNodeType) { - console.log('enter'); - this.nodeTypeSelected(activeNodeType.name); } diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index d39ff3ca71..c6b06e270e 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -427,8 +427,6 @@ export default mixins( this.textEditDialogVisible = false; }, displayEditDialog () { - console.log('displayEditDialog...'); - if (this.isEditor) { this.codeEditDialogVisible = true; } else { diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index c420d173ef..db7c6b7047 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -171,8 +171,8 @@ export default mixins( RunData, }, errorCaptured: (err, vm, info) => { - console.error('errorCaptured .....'); - console.error(err); + console.error('errorCaptured'); // eslint-disable-line no-console + console.error(err); // eslint-disable-line no-console }, watch: { // Listen to route changes and load the workflow accordingly @@ -1567,8 +1567,8 @@ export default mixins( try { nodeParameters = NodeHelpers.getNodeParameters(nodeType.properties, node.parameters, true, false); } catch (e) { - console.error(`There was a problem loading the node-parameters of node: "${node.name}"`); - console.error(e); + console.error(`There was a problem loading the node-parameters of node: "${node.name}"`); // eslint-disable-line no-console + console.error(e); // eslint-disable-line no-console } node.parameters = nodeParameters !== null ? nodeParameters : {}; }