Skip to content

Commit fccbde1

Browse files
committed
fix linting
1 parent fec3683 commit fccbde1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

backend/internal/nginx.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const internalNginx = {
8282
meta: combined_meta
8383
})
8484
.then(() => {
85-
internalNginx.renameConfigAsError(host_type, host)
85+
internalNginx.renameConfigAsError(host_type, host);
8686
})
8787
.then(() => {
8888
return internalNginx.deleteConfig(host_type, host, true);
@@ -147,7 +147,7 @@ const internalNginx = {
147147
return;
148148
}
149149

150-
const renderEngine = utils.getRenderEngine();
150+
const renderEngine = utils.getRenderEngine();
151151
let renderedLocations = '';
152152

153153
const locationRendering = async () => {
@@ -319,7 +319,7 @@ const internalNginx = {
319319
fs.unlinkSync(filename);
320320
} catch (err) {
321321
logger.debug('Could not delete file:', JSON.stringify(err, null, 2));
322-
};
322+
}
323323
},
324324

325325
/**

backend/lib/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = {
5353
*/
5454
return (row) => {
5555
return _.omit(row, omissions);
56-
}
56+
};
5757
},
5858

5959
/**
@@ -72,7 +72,7 @@ module.exports = {
7272
rows[idx] = _.omit(row, omissions);
7373
});
7474
return rows;
75-
}
75+
};
7676
},
7777

7878
/**

backend/models/now_helper.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Model.knex(db);
66

77
module.exports = function () {
88
if (config.database.knex && config.database.knex.client === 'sqlite3') {
9+
// eslint-disable-next-line
910
return Model.raw("datetime('now','localtime')");
1011
}
1112
return Model.raw('NOW()');

0 commit comments

Comments
 (0)