Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-03 09:07:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-03 09:07:23 +0300
commit3d6bfb323c80f30034921103df18cbc2a266fc19 (patch)
treea48b58a79685114848879011dd89be0b33124081 /app/assets/javascripts/ci
parentcd6db2c5b462479bf7d798acaf1f360def701c15 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/ci')
-rw-r--r--app/assets/javascripts/ci/pipeline_editor/components/editor/text_editor.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/assets/javascripts/ci/pipeline_editor/components/editor/text_editor.vue b/app/assets/javascripts/ci/pipeline_editor/components/editor/text_editor.vue
index 255e3cb31f1..891c40482d3 100644
--- a/app/assets/javascripts/ci/pipeline_editor/components/editor/text_editor.vue
+++ b/app/assets/javascripts/ci/pipeline_editor/components/editor/text_editor.vue
@@ -2,7 +2,6 @@
import { EDITOR_READY_EVENT } from '~/editor/constants';
import { CiSchemaExtension } from '~/editor/extensions/source_editor_ci_schema_ext';
import SourceEditor from '~/vue_shared/components/source_editor.vue';
-import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import { SOURCE_EDITOR_DEBOUNCE } from '../../constants';
export default {
@@ -15,7 +14,6 @@ export default {
components: {
SourceEditor,
},
- mixins: [glFeatureFlagMixin()],
inject: ['ciConfigPath'],
inheritAttrs: false,
methods: {
@@ -23,10 +21,8 @@ export default {
this.$emit('updateCiConfig', content);
},
registerCiSchema({ detail: { instance } }) {
- if (this.glFeatures.schemaLinting) {
- instance.use({ definition: CiSchemaExtension });
- instance.registerCiSchema();
- }
+ instance.use({ definition: CiSchemaExtension });
+ instance.registerCiSchema();
},
},
readyEvent: EDITOR_READY_EVENT,