From e47d7e48d96c3051d4c9eb6fb186bd4af4cd572d Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 13 Nov 2018 16:24:55 +0200 Subject: [PATCH] chore(before) rm unused --- test/before.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/before.js b/test/before.js index 416ca8f3..0c0782e6 100644 --- a/test/before.js +++ b/test/before.js @@ -20,10 +20,6 @@ const currentConfig = readjson.sync.try(pathConfig); module.exports = before; function before(options, fn = options) { - if (fn === options) { - options = {}; - } - const {config, plugins, modules} = options; const app = express();