Skip to content

Commit

Permalink
prefer existing name over generated one
Browse files Browse the repository at this point in the history
This handles the case when identifiers are renamed twice
  • Loading branch information
sokra committed Sep 20, 2018
1 parent 6035781 commit 8de1165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ReplaceSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class ReplaceSource extends Source {
mapping.column,
mapping.source,
replace.value,
replace.name
mapping.name || replace.name
));
}
}
Expand Down

0 comments on commit 8de1165

Please sign in to comment.