We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fecd57 commit cce4f98Copy full SHA for cce4f98
src/rules/yaml-key-sort.ts
@@ -63,9 +63,9 @@ export default class YamlKeySort extends RuleBuilder<YamlKeySortOptions> {
63
const doc = parseYAML(yamlText);
64
const startingPriorityKeys = getEmptyDocument(doc);
65
66
- if(doc.contents == null) {
67
- return text;
68
- }
+ if (doc.contents == null) {
+ return text;
+ }
69
70
let remainingKeys = this.getYAMLKeysSorted(yamlKeys, doc, startingPriorityKeys);
71
0 commit comments