Skip to content

Commit

Permalink
change for #pullrequestreview-710896679
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0a0d committed Jul 21, 2021
1 parent a141982 commit a04d50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ module.exports = {
this.settings.routes.forEach(route => this.addRoute(route));

// Regenerate all auto aliases routes
const debounceTime = this.settings.debounceTime >= 0 ? parseInt(this.settings.debounceTime) : 500;
const debounceTime = this.settings.debounceTime > 0 ? parseInt(this.settings.debounceTime) : 500;
this.regenerateAllAutoAliases = _.debounce(() => {
/* istanbul ignore next */
this.routes.forEach(route => route.opts.autoAliases && this.regenerateAutoAliases(route));
Expand Down

0 comments on commit a04d50a

Please sign in to comment.