Skip to content

Commit a21d024

Browse files
committed
indent feature-comparison.yml\
1 parent dc97748 commit a21d024

File tree

2 files changed

+598
-678
lines changed

2 files changed

+598
-678
lines changed

__tasks/tasks/stitch_outbound_links.clj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@
101101

102102
(defn- fix-yaml-links [path dry-run?]
103103
(let [parsed (yaml/parse-string (slurp path))
104-
updated (walk/postwalk
105-
update-node
106-
parsed)]
104+
updated (walk/postwalk update-node parsed)]
107105
(cond
108106
(and (= parsed updated) dry-run?)
109107
(u/log " ℹ️" (str "Dry run: No update to: " path))
@@ -126,8 +124,8 @@
126124

127125
(defn- crawl-data-directory
128126
[f dry-run?]
129-
(doseq [file (concat (fs/glob "_data" "**/*.yaml")
130-
(fs/glob "_data" "**/*.yml"))]
127+
(doseq [file (concat (fs/glob "." "_data/**.yaml")
128+
(fs/glob "." "_data/**.yml"))]
131129
(f (str file) dry-run?)))
132130

133131
(defn -main

0 commit comments

Comments
 (0)