Skip to content

Commit

Permalink
chore(style): format by eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
a632079 committed Jun 14, 2020
1 parent 68f6397 commit b6dc849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function registerMiddlewares () {

// Run Task
// TODO: crate a task tree file
const {Task} = require('./src/task/updateSentencesTask')
const { Task } = require('./src/task/updateSentencesTask')

// Load Route
async function registerRoutes (routes) {
Expand Down
2 changes: 1 addition & 1 deletion src/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function checkMiddlewaresFileValid (middlewares) {
module.exports = {
fetch (isDev) {
let middlewares = require(path.join(__dirname, '../plugins'))
checkMiddlewaresFileValid(middlewares)
checkMiddlewaresFileValid(middlewares)
if (isDev) {
const devMiddlewares = require(path.join(__dirname, '../plugins.dev'))
checkMiddlewaresFileValid(devMiddlewares)
Expand Down

0 comments on commit b6dc849

Please sign in to comment.