summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2018-08-27 16:21:02 +0200
committerPaul Slaughter <pslaughter@gitlab.com>2018-09-06 14:42:25 -0500
commit254cfcb7f4d24951de54665a03823fbbcc491e85 (patch)
tree4795a9c78a3c34bdc1efa815e2cd36b876e6965b /spec/javascripts
parent44d251edf7bb6d8f33c8f9a8cc6c702e9a2e15e4 (diff)
downloadgitlab-ce-254cfcb7f4d24951de54665a03823fbbcc491e85.tar.gz
Updapte eslintrc no-param-reassign with 'ignorePropertyModificationsFor'
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/helpers/vue_resource_helper.js1
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;
});
};