mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint: space-before-function-paren
This commit is contained in:
parent
754d4087b4
commit
511e40fa72
3 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ module.exports.show = promisify((options = {}, fn) => {
|
|||
|
||||
module.exports.hide = hide;
|
||||
|
||||
function hide () {
|
||||
function hide() {
|
||||
CloudCmd.View.hide();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ module.exports.init = async () => {
|
|||
module.exports.show = show;
|
||||
module.exports.hide = hide;
|
||||
|
||||
function hide () {
|
||||
function hide() {
|
||||
CloudCmd.View.hide();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue