Skip to content

Commit

Permalink
Made sure state is always returned
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Apr 12, 2016
1 parent 9dcca6e commit d5786a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/cli/extensions/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ export function getExtensions(type) {
// Rest Actions & Hooks
setActions(state.actions);
setHooks(state.hooks);

// Use the previous state
return state;
}
// Use the previous state
return state;
}
, initialState);
};
Expand Down

0 comments on commit d5786a8

Please sign in to comment.