Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fec570d

Browse files
author
Joseph Damiba
committed
update script to print just permalinks of failed posts
1 parent 68fe0e4 commit fec570d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front-matter-ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def check_no_example_index_with_order_under_5(meta_to_check):
8181
failures = []
8282
for meta in meta_to_check:
8383
if meta["order"] < 5 and meta['page_type'] == "u-guide":
84-
failures.append(meta)
84+
failures.append(meta['permalink'])
8585
return "do any posts have order less than five but page_type: u-guide?", failures
8686

8787
categories = [

0 commit comments

Comments
 (0)