Skip to content

Commit

Permalink
Merge pull request #2682 from wesleycho/fix/for-in
Browse files Browse the repository at this point in the history
fix(middleware): change to use vanilla for loop
  • Loading branch information
dignifiedquire authored May 2, 2017
2 parents 14b6dfd + ac62cc0 commit 51b4f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ var createKarmaMiddleware = function (

var scriptTags = []
var scriptUrls = []
for (var i in files.included) {
for (var i = 0; i < files.included.length; i++) {
var file = files.included[i]
var filePath = file.path
var fileExt = path.extname(filePath)
Expand Down

0 comments on commit 51b4f64

Please sign in to comment.