diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-08-27 16:21:02 +0200 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2018-09-06 14:42:25 -0500 |
commit | 254cfcb7f4d24951de54665a03823fbbcc491e85 (patch) | |
tree | 4795a9c78a3c34bdc1efa815e2cd36b876e6965b /app/assets/javascripts/pipelines/components | |
parent | 44d251edf7bb6d8f33c8f9a8cc6c702e9a2e15e4 (diff) | |
download | gitlab-ce-254cfcb7f4d24951de54665a03823fbbcc491e85.tar.gz |
Updapte eslintrc no-param-reassign with 'ignorePropertyModificationsFor'
Diffstat (limited to 'app/assets/javascripts/pipelines/components')
-rw-r--r-- | app/assets/javascripts/pipelines/components/pipelines_table_row.vue | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipelines_table_row.vue b/app/assets/javascripts/pipelines/components/pipelines_table_row.vue index 29b347824de..a39cc265601 100644 --- a/app/assets/javascripts/pipelines/components/pipelines_table_row.vue +++ b/app/assets/javascripts/pipelines/components/pipelines_table_row.vue @@ -132,10 +132,8 @@ export default { if (this.pipeline.ref) { return Object.keys(this.pipeline.ref).reduce((accumulator, prop) => { if (prop === 'path') { - // eslint-disable-next-line no-param-reassign accumulator.ref_url = this.pipeline.ref[prop]; } else { - // eslint-disable-next-line no-param-reassign accumulator[prop] = this.pipeline.ref[prop]; } return accumulator; |