From 559e1d7366d9edb4d4a82d5f1e26ce30a29fc77c Mon Sep 17 00:00:00 2001 From: Michael Kret Date: Tue, 31 May 2022 08:54:32 +0300 Subject: [PATCH] :zap: linter fixes --- .../nodes-base/nodes/Github/Github.node.ts | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/packages/nodes-base/nodes/Github/Github.node.ts b/packages/nodes-base/nodes/Github/Github.node.ts index 54187dfff0..2bba948c2c 100644 --- a/packages/nodes-base/nodes/Github/Github.node.ts +++ b/packages/nodes-base/nodes/Github/Github.node.ts @@ -119,34 +119,32 @@ export class Github implements INodeType { default: 'issue', }, - - // ---------------------------------- // operations // ---------------------------------- - { + { displayName: 'Operation', name: 'operation', type: 'options', + noDataExpression: true, displayOptions: { - show: { - resource: [ - 'organization', - ], + show: { + resource: [ + 'organization', + ], - }, + }, }, options: [ - { - name: 'Get all Repositories', - value: 'getRepositories', - description: 'Returns all repositories of an organization', - }, + { + name: 'Get all Repositories', + value: 'getRepositories', + description: 'Returns all repositories of an organization', + }, ], default: 'getRepositories', - description: 'The operation to perform.', - }, + }, { displayName: 'Operation',