diff --git a/index.js b/index.js index 946f33c..2c44232 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ module.exports = function(robots, {express = require('express')} = {}) { function render(robots) { return asArray(robots).map(function(robot) { - const userAgentArray = []; + let userAgentArray = []; if (Array.isArray(robot.UserAgent)) { userAgentArray = robot.UserAgent.map(function(userAgent) { return 'User-agent: ' + userAgent