diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -12,6 +12,7 @@ exports.register = function (plugin, options, next) {
       if (stat && stat.isDirectory()) {
         return readRoutes(dir + file + '/');
       } else {
+        // istanbul ignore else
         if (path.extname(file) === '.js') {
           var route = require(dir + file);
           routes = routes.concat(route);
refactor(register): added ignore else