Skip to content

Commit 322b006

Browse files
committed
fix multi module no controllers bug
1 parent 8fb8c4b commit 322b006

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "think-controller",
33
"description": "invoke controller",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"author": {
66
"name": "welefen",
77
"email": "welefen@gmail.com"

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test('empty controller', t => {
5959
fn2({controller: 'foo', action: 'bar', module: 'baz'}, plus);
6060
expected++;
6161
t.is(recieved, expected)
62-
// multi module but not specific controll
62+
// multi module but not specific controllers
6363
const fn3 = invokeController(undefined, {
6464
modules: ['baz'],
6565
controllers: {}

0 commit comments

Comments
 (0)