From a2e16aaf0933933cee744266f37f2b9e2a532933 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 26 Sep 2023 18:28:27 +0530 Subject: [PATCH] lint --- backend/tasks.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/backend/tasks.js b/backend/tasks.js index 910c241..1b86500 100644 --- a/backend/tasks.js +++ b/backend/tasks.js @@ -1,17 +1,16 @@ 'use strict'; -var assert = require('assert'), - async = require('async'), +const assert = require('assert'), fs = require('fs'), - path = require('path'), database = require('./database.js'), - nodemailer = require('nodemailer'), - handlebars = require('handlebars'), - markdown = require('helper-markdown'), debug = require('debug')('releasebell/tasks'), - smtpTransport = require('nodemailer-smtp-transport'), + github = require('./github.js'), gitlab = require('./gitlab.js'), - github = require('./github.js'); + handlebars = require('handlebars'), + markdown = require('helper-markdown'), + nodemailer = require('nodemailer'), + path = require('path'), + smtpTransport = require('nodemailer-smtp-transport'); // Register our Markdown helper handlebars.registerHelper('markdown', function(text) { @@ -20,8 +19,8 @@ handlebars.registerHelper('markdown', function(text) { }); module.exports = exports = { - run: run, - syncReleasesByProject: syncReleasesByProject // for initial sync on project add + run, + syncReleasesByProject // for initial sync on project add }; const CAN_SEND_EMAIL = (process.env.CLOUDRON_MAIL_SMTP_SERVER && process.env.CLOUDRON_MAIL_SMTP_PORT && process.env.CLOUDRON_MAIL_FROM);