Skip to content

Commit

Permalink
xo for 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmorneau committed Aug 3, 2020
1 parent 8827018 commit e142e07
Show file tree
Hide file tree
Showing 5 changed files with 4,388 additions and 3,996 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ module.exports = {

// Add the new values
if (values) {
for (let value = 0; value < values.length; value++) {
if (oldKeyValue === values[value].oldValue) {
newKeyValue = values[value].newValue;
for (const value_ of values) {
if (oldKeyValue === value_.oldValue) {
newKeyValue = value_.newValue;
break;
} else {
newKeyValue = undefined;
Expand Down
Loading

0 comments on commit e142e07

Please sign in to comment.