Commit b0bd8910 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '196663-underscore-to-lodash-app-assets-javascripts-ci_variable_list' into 'master'

Replace underscore with lodash for ./app/assets/javascripts/ci_variable_list

Closes #196663

See merge request gitlab-org/gitlab!25174
parents 0b8a2aa7 2e6120dc
import _ from 'underscore';
import { escape as esc } from 'lodash';
import axios from '../lib/utils/axios_utils';
import { s__ } from '../locale';
import Flash from '../flash';
......@@ -10,7 +10,7 @@ function generateErrorBoxContent(errors) {
const errorList = [].concat(errors).map(
errorString => `
<li>
${_.escape(errorString)}
${esc(errorString)}
</li>
`,
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment