Skip to content

Commit

Permalink
check process.env.NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
xtx1130 committed Jul 11, 2017
1 parent 578b2e2 commit a433d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class koax {
}
/*use function*/
mount(func) {
assert(isAsync(func),'the arguments must be an Async function');
process.env.NODE_ENV!='travis' && assert(isAsync(func),'the arguments must be an Async function');
this.dispatchFunction.push(func);
return this;
}
Expand Down

0 comments on commit a433d26

Please sign in to comment.