Skip to content

Commit

Permalink
If action isn't found, exit
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoberger committed Jul 29, 2016
1 parent ededb9a commit 9f97b7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ exports.api = function(args, opts) {

var actionObj = exports.load(action);

if(!actionObj) {
return;
}

var info = {
'args': args,
'opts': opts,
Expand Down

0 comments on commit 9f97b7f

Please sign in to comment.