Skip to content

Commit 0cb4e37

Browse files
committed
chore: fix typo
1 parent 2f5138d commit 0cb4e37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/config-factory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function createConfig(context, opts) {
1414
};
1515

1616
// app.use('/api', proxy({target:'http://localhost:9000'}));
17-
if (isContexless(context, opts)) {
17+
if (isContextless(context, opts)) {
1818
config.context = '/';
1919
config.options = _.assign(config.options, context);
2020
}
@@ -76,7 +76,7 @@ function isStringShortHand(context) {
7676
* @param {*} opts [description]
7777
* @return {Boolean} [description]
7878
*/
79-
function isContexless(context, opts) {
79+
function isContextless(context, opts) {
8080
return (_.isPlainObject(context) && _.isEmpty(opts));
8181
}
8282

0 commit comments

Comments
 (0)