chore: Apply linting fixes
This commit is contained in:
committed by
mrugesh mohapatra
parent
5499042ce6
commit
f45c3d4fa5
@ -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', () => {
|
||||
|
@ -53,6 +53,7 @@ fs.access(migrationMapPath, err => {
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
// eslint-disable-next-line
|
||||
process.exit(1);
|
||||
});
|
||||
}
|
||||
|
@ -25,5 +25,6 @@ getChallengesForLang('english')
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
// eslint-disable-next-line
|
||||
process.exit(1);
|
||||
});
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user