Cleanup & Fix lint issues

This commit is contained in:
Jan Oberhauser 2021-03-29 11:20:10 +02:00
parent e48f555f07
commit ca50194d71
7 changed files with 25 additions and 25 deletions

View file

@ -1069,7 +1069,7 @@ export class EditImage implements INodeType {
if (operation === 'information') { if (operation === 'information') {
// Just return the information // Just return the information
const imageData = await new Promise<IDataObject>((resolve, reject) => { const imageData = await new Promise<IDataObject>((resolve, reject) => {
gmInstance = gmInstance.identify((error:any, imageData:any) => { gmInstance = gmInstance.identify((error, imageData) => {
if (error) { if (error) {
reject(error); reject(error);
return; return;

View file

@ -157,7 +157,7 @@ export class EmailSend implements INodeType {
secure: credentials.secure as boolean, secure: credentials.secure as boolean,
}; };
if(credentials.user || credentials.password) { if (credentials.user || credentials.password) {
// @ts-ignore // @ts-ignore
connectionOptions.auth = { connectionOptions.auth = {
user: credentials.user as string, user: credentials.user as string,

View file

@ -188,6 +188,6 @@ export class Mailgun implements INodeType {
json: responseData, json: responseData,
}); });
} }
return this.prepareOutputData(returnData) return this.prepareOutputData(returnData);
} }
} }