Skip to content

Commit

Permalink
Merge pull request #13482 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-13182-to-release-4.14

[release-4.14] OCPBUGS-26171: Set unlimited line width in YAML editor
  • Loading branch information
openshift-merge-bot[bot] committed Jan 9, 2024
2 parents f2b3216 + 405302a commit 3aa34f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/public/components/edit-yaml.jsx
Expand Up @@ -225,7 +225,7 @@ const EditYAMLInner = (props) => {
yaml = allowMultiple ? appendYAMLString(obj) : obj;
} else {
try {
yaml = safeDump(obj);
yaml = safeDump(obj, { lineWidth: -1 });
checkEditAccess(obj);
} catch (e) {
yaml = t('public~Error getting YAML: {{e}}', { e });
Expand Down

0 comments on commit 3aa34f5

Please sign in to comment.