mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-11 13:15:28 +03:00
⚡ Remove debug messages
This commit is contained in:
parent
d1c5eb26fb
commit
ed160764c9
@ -16,22 +16,16 @@ class ExternalHooksClass implements IExternalHooksClass {
|
||||
|
||||
|
||||
async init(): Promise<void> {
|
||||
console.log('ExternalHooks.init');
|
||||
|
||||
if (this.initDidRun === true) {
|
||||
return;
|
||||
}
|
||||
|
||||
const externalHookFiles = config.get('externalHookFiles').split(':');
|
||||
|
||||
console.log('externalHookFiles');
|
||||
console.log(externalHookFiles);
|
||||
|
||||
// Load all the provided hook-files
|
||||
for (let hookFilePath of externalHookFiles) {
|
||||
hookFilePath = hookFilePath.trim();
|
||||
if (hookFilePath !== '') {
|
||||
console.log(' --- load: ' + hookFilePath);
|
||||
try {
|
||||
const hookFile = require(hookFilePath);
|
||||
|
||||
@ -57,8 +51,6 @@ class ExternalHooksClass implements IExternalHooksClass {
|
||||
}
|
||||
|
||||
async run(hookName: string, hookParameters?: any[]): Promise<void> { // tslint:disable-line:no-any
|
||||
console.log('RUN NOW: ' + hookName);
|
||||
|
||||
const externalHookFunctions: IExternalHooksFunctions = {
|
||||
dbCollections: Db.collections,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user