Skip to content

Commit

Permalink
Merge pull request #865 from 38elements/patch-2
Browse files Browse the repository at this point in the history
Remove unnecessary return
  • Loading branch information
shakyShane committed Oct 18, 2015
2 parents f80feb7 + 114cd93 commit b5218cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module.exports = {
*/
mergeMiddlewares: function (bs, done) {

return done(null, {
done(null, {
options: {
middleware: bs.pluginManager.hook(
"server:middleware",
Expand All @@ -196,11 +196,10 @@ module.exports = {
* be live updated inside resp-modifier/foxy
* @param bs
* @param done
* @returns {*}
*/
setUserRewriteRules: function (bs, done) {
var userRules = bs.options.get("rewriteRules");
return done(null, {
done(null, {
instance: {
rewriteRules: userRules ? userRules.toJS() : []
}
Expand Down

0 comments on commit b5218cd

Please sign in to comment.