stefanpenner / es6-promise

A polyfill for ES6-style Promises
MIT License
7.3k stars 593 forks source link

Remove duplicate "validationError" function #319

Closed mariusschulz closed 6 years ago

mariusschulz commented 6 years ago

I noticed that the validationError function is declared twice:

function validationError() {
  return new Error('Array Methods must be provided an Array');
}

function validationError() {
  return new Error('Array Methods must be provided an Array');
};

This PR removes one of the two function declarations.

stefanpenner commented 6 years ago

thanks!

mariusschulz commented 6 years ago

Thank you for the quick merge :)

stefanpenner commented 6 years ago

Thank you for the quick merge :)

Thanks for catching!