Skip to content

Commit

Permalink
Merge pull request #14 from nickdesaulniers/arrow_fn
Browse files Browse the repository at this point in the history
bin: remove arrow functions for Node 0.12 support
  • Loading branch information
namuol authored Jul 8, 2019
2 parents 1bfe834 + 267315e commit 04b5aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tap-difflet
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var options = docopt(usage, {

function getOptionsWithoutDashes(options) {
const transformedOptions = {}
Object.keys(options).forEach(key => {
Object.keys(options).forEach(function(key) {
const keyWithoutDashes = key.replace(/^(--|-)/, '');
transformedOptions[keyWithoutDashes] = options[key];
});
Expand Down

0 comments on commit 04b5aeb

Please sign in to comment.