chore: Apply linting fixes

This commit is contained in:
Bouncey
2019-02-16 08:48:52 +00:00
committed by mrugesh mohapatra
parent 5499042ce6
commit f45c3d4fa5
8 changed files with 221 additions and 188 deletions

View File

@ -5,7 +5,7 @@ const { createRedirects } = require('./createRedirects');
const testLocations = {
api: 'https://api.example.com',
news: 'https://news.example.com',
forum: 'https://forum.example.com',
forum: 'https://forum.example.com'
};
describe('createRedirects', () => {

View File

@ -53,6 +53,7 @@ fs.access(migrationMapPath, err => {
})
.catch(err => {
console.error(err);
// eslint-disable-next-line
process.exit(1);
});
}

View File

@ -25,5 +25,6 @@ getChallengesForLang('english')
})
.catch(err => {
console.error(err);
// eslint-disable-next-line
process.exit(1);
});

View File

@ -5,7 +5,7 @@ const ObjectId = require('mongodb').ObjectID;
const debug = require('debug');
const log = debug('fcc:tools:seedLocalAuthUser');
const { MONGOHQ_URL, LOCALE: lang } = process.env;
const { MONGOHQ_URL } = process.env;
function handleError(err, client) {
if (err) {