diff --git a/client/modules/terminal-run.js b/client/modules/terminal-run.js index ca31389f..cc2df175 100644 --- a/client/modules/terminal-run.js +++ b/client/modules/terminal-run.js @@ -75,7 +75,7 @@ module.exports.show = promisify((options = {}, fn) => { module.exports.hide = hide; -function hide () { +function hide() { CloudCmd.View.hide(); } diff --git a/client/modules/terminal.js b/client/modules/terminal.js index 753fbc67..09d67b4c 100644 --- a/client/modules/terminal.js +++ b/client/modules/terminal.js @@ -57,7 +57,7 @@ module.exports.init = async () => { module.exports.show = show; module.exports.hide = hide; -function hide () { +function hide() { CloudCmd.View.hide(); } diff --git a/server/user-menu.js b/server/user-menu.js index b5a0efef..4917327b 100644 --- a/server/user-menu.js +++ b/server/user-menu.js @@ -20,7 +20,7 @@ transpile(''); const URL = '/api/v1/user-menu'; const DEFAULT_MENU_PATH = join(__dirname, '../static/user-menu.js'); -module.exports = currify(async({menuName}, req, res, next) => { +module.exports = currify(async ({menuName}, req, res, next) => { if (req.url.indexOf(URL)) return next();