Cleanup of external hooks

This commit is contained in:
Jan Oberhauser
2020-06-10 13:00:28 +02:00
parent 6e1254fd54
commit 57b3a2e05e
5 changed files with 7 additions and 51 deletions

View File

@@ -5,7 +5,6 @@ import {
} from 'n8n-core';
import { Command, flags } from '@oclif/command';
const open = require('open');
// import { dirname } from 'path';
import * as config from '../config';
import {
@@ -113,8 +112,6 @@ export class Start extends Command {
const externalHooks = ExternalHooks();
await externalHooks.init();
// await externalHooks.run('credentials.new');
// Add the found types to an instance other parts of the application can use
const nodeTypes = NodeTypes();
await nodeTypes.init(loadNodesAndCredentials.nodeTypes);