diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-08-27 17:21:02 +0300 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2018-09-06 22:42:25 +0300 |
commit | 254cfcb7f4d24951de54665a03823fbbcc491e85 (patch) | |
tree | 4795a9c78a3c34bdc1efa815e2cd36b876e6965b /spec/javascripts/helpers | |
parent | 44d251edf7bb6d8f33c8f9a8cc6c702e9a2e15e4 (diff) |
Updapte eslintrc no-param-reassign with 'ignorePropertyModificationsFor'
Diffstat (limited to 'spec/javascripts/helpers')
-rw-r--r-- | spec/javascripts/helpers/vue_resource_helper.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/helpers/vue_resource_helper.js b/spec/javascripts/helpers/vue_resource_helper.js index 70b7ec4e574..0d1bf5e2e80 100644 --- a/spec/javascripts/helpers/vue_resource_helper.js +++ b/spec/javascripts/helpers/vue_resource_helper.js @@ -5,6 +5,7 @@ export const headersInterceptor = (request, next) => { response.headers.forEach((value, key) => { headers[key] = value; }); + // eslint-disable-next-line no-param-reassign response.headers = headers; }); }; |