Skip to content

Commit 600ba2c

Browse files
committed
changes to get lint to pass
1 parent 982456d commit 600ba2c

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

test/controllers.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ describe('Controllers', () => {
180180
describe('routes that should 200/404 etc.', () => {
181181
const baseUrl = nconf.get('url');
182182
const testRoutes = [
183-
{ it: 'should load /reset without code', url: '/reset' },
183+
{ it: 'should load /reset without code', url: '/reset' },
184184
{ it: 'should load /reset with invalid code', url: '/reset/123123' },
185185
{ it: 'should load /login', url: '/login' },
186186
{ it: 'should load /register', url: '/register' },
@@ -693,13 +693,13 @@ describe('Controllers', () => {
693693
});
694694

695695
// it('should 404 if brand:touchIcon is not valid', async () => {
696-
// const oldValue = meta.config['brand:touchIcon'];
697-
// meta.config['brand:touchIcon'] = '../../not/valid';
696+
// const oldValue = meta.config['brand:touchIcon'];
697+
// meta.config['brand:touchIcon'] = '../../not/valid';
698698

699-
// const { response, body } = await request.get(`${nconf.get('url')}/apple-touch-icon`);
700-
// assert.strictEqual(response.statusCode, 404);
701-
// assert.strictEqual(body, 'Not found');
702-
// meta.config['brand:touchIcon'] = oldValue;
699+
// const { response, body } = await request.get(`${nconf.get('url')}/apple-touch-icon`);
700+
// assert.strictEqual(response.statusCode, 404);
701+
// assert.strictEqual(body, 'Not found');
702+
// meta.config['brand:touchIcon'] = oldValue;
703703
// });
704704

705705

vendor/nodebb-theme-harmony-main/library.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ async function buildSkins() {
4545
const plugins = require.main.require('./src/plugins');
4646
await plugins.prepareForBuild(['client side styles']);
4747
for (const skin of meta.css.supportedSkins) {
48-
// eslint-disable-next-line no-await-in-loop
4948
await meta.css.buildBundle(`client-${skin}`, true);
5049
}
5150
require.main.require('./src/meta/minifier').killAll();

0 commit comments

Comments
 (0)