diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-01-12 00:52:42 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-18 20:33:02 -0600 |
commit | 83ecc02daa880e73010ac871f821c01c2c8c116c (patch) | |
tree | 9d58c071c899285d3c1054a84a5787cd7de3e8e1 /app/assets/javascripts/blob/template_selector.js.es6 | |
parent | 0b3f00492bc84a84d7a9867d3d02454d61672660 (diff) | |
download | gitlab-ce-83ecc02daa880e73010ac871f821c01c2c8c116c.tar.gz |
resolve all prefer-const eslint violations
Diffstat (limited to 'app/assets/javascripts/blob/template_selector.js.es6')
-rw-r--r-- | app/assets/javascripts/blob/template_selector.js.es6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/blob/template_selector.js.es6 b/app/assets/javascripts/blob/template_selector.js.es6 index 77f65759651..3ccf6f4e328 100644 --- a/app/assets/javascripts/blob/template_selector.js.es6 +++ b/app/assets/javascripts/blob/template_selector.js.es6 @@ -1,4 +1,4 @@ -/* eslint-disable comma-dangle, object-shorthand, func-names, space-before-function-paren, arrow-parens, no-unused-vars, class-methods-use-this, no-var, consistent-return, prefer-const, no-param-reassign, space-in-parens, max-len */ +/* eslint-disable comma-dangle, object-shorthand, func-names, space-before-function-paren, arrow-parens, no-unused-vars, class-methods-use-this, no-var, consistent-return, no-param-reassign, space-in-parens, max-len */ ((global) => { class TemplateSelector { @@ -74,7 +74,7 @@ if (!file) return; const oldValue = this.editor.getValue(); - let newValue = file.content; + const newValue = file.content; this.editor.setValue(newValue, 1); if (!skipFocus) this.editor.focus(); |