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') {
// Just return the information
const imageData = await new Promise<IDataObject>((resolve, reject) => {
gmInstance = gmInstance.identify((error:any, imageData:any) => {
gmInstance = gmInstance.identify((error, imageData) => {
if (error) {
reject(error);
return;

View file

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

View file

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