Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gramakri committed Sep 26, 2023
1 parent 3547279 commit a2e16aa
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions backend/tasks.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit a2e16aa

Please sign in to comment.