From eebaa2a1bc21eeba98ee00c9f94a0a4c2007cff1 Mon Sep 17 00:00:00 2001 From: David Graham Date: Wed, 22 Feb 2017 08:27:59 -0700 Subject: [PATCH] Remove extra punctuation --- fetch.js | 4 ++-- test/test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fetch.js b/fetch.js index a5b85489..6bac6b39 100644 --- a/fetch.js +++ b/fetch.js @@ -86,8 +86,8 @@ }, this) } else if (Array.isArray(headers)) { headers.forEach(function(header) { - this.append(header[0], header[1]); - }, this); + this.append(header[0], header[1]) + }, this) } else if (headers) { Object.getOwnPropertyNames(headers).forEach(function(name) { this.append(name, headers[name]) diff --git a/test/test.js b/test/test.js index ee315cf4..47fa98ea 100644 --- a/test/test.js +++ b/test/test.js @@ -174,7 +174,7 @@ suite('Headers', function() { var array = [ ['Content-Type', 'text/xml'], ['Breaking-Bad', '<3'] - ]; + ] var headers = new Headers(array) assert.equal(headers.get('Content-Type'), 'text/xml')