diff --git a/bin/tap-difflet b/bin/tap-difflet index e66391f..85279a0 100755 --- a/bin/tap-difflet +++ b/bin/tap-difflet @@ -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]; });