Skip to content

Commit

Permalink
use var instead of let/const for ancient nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 12, 2019
1 parent cbf63b7 commit f392f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ var extend = Object.assign || function _extend (target, source) {
// Don't do anything if source isn't an object
if (source === null || typeof source !== 'object') return target

const keys = Object.keys(source)
let i = keys.length
var keys = Object.keys(source)
var i = keys.length
while (i--) {
target[keys[i]] = source[keys[i]]
}
Expand Down

0 comments on commit f392f82

Please sign in to comment.