summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/gl_field_errors.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-05-16 15:52:40 -0500
committerMike Greiling <mike@pixelcog.com>2017-05-16 15:52:40 -0500
commit5bd549187aa68604d320e3d0c1a51ee4ed34c0e3 (patch)
tree4f121959a46a895d67963919f549507947a305a5 /app/assets/javascripts/gl_field_errors.js
parentf5ad1dcbf88dc69254fe86be2fd6b20fead308c0 (diff)
downloadgitlab-ce-5bd549187aa68604d320e3d0c1a51ee4ed34c0e3.tar.gz
update remaining uses of CJS syntax to ES module syntax
Diffstat (limited to 'app/assets/javascripts/gl_field_errors.js')
-rw-r--r--app/assets/javascripts/gl_field_errors.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_field_errors.js b/app/assets/javascripts/gl_field_errors.js
index ca3cec07a88..4f226ff96ea 100644
--- a/app/assets/javascripts/gl_field_errors.js
+++ b/app/assets/javascripts/gl_field_errors.js
@@ -1,6 +1,6 @@
/* eslint-disable comma-dangle, class-methods-use-this, max-len, space-before-function-paren, arrow-parens, no-param-reassign */
-require('./gl_field_error');
+import './gl_field_error';
const customValidationFlag = 'gl-field-error-ignore';