Skip to content

Commit

Permalink
Fix JSON output.
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Jan 10, 2024
1 parent 323cdec commit 8df744b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cheat_sheets() {
update(name);
}
console.log(cheatsheets);
console.log(JSON.stringify(cheatsheets));
EOT
) | node >cheat-sheets.json.new && mv cheat-sheets.json.new cheat-sheets.json
}
Expand Down
38 changes: 21 additions & 17 deletions cheat-sheets.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@

{
'Cheat Sheets': {
github: 'lwindolf/lzone-cheat-sheets',
category: 'Cheat Sheets',
filePattern: '^cheat-sheet/(.+)\\.md$'
"Cheat Sheets": {
"github": "lwindolf/lzone-cheat-sheets",
"category": "Cheat Sheets",
"filePattern": "^cheat-sheet/(.+)\\.md$"
},
Examples: {
github: 'lwindolf/lzone-cheat-sheets',
category: 'Cheat Sheets',
filePattern: '^examples/(.+)\\.md$'
"Examples": {
"github": "lwindolf/lzone-cheat-sheets",
"category": "Cheat Sheets",
"filePattern": "^examples/(.+)\\.md$"
},
'Visual Ops': {
github: 'lwindolf/lzone-cheat-sheets',
category: 'SRE',
filePattern: '^visual-ops/(.+)\\.md$'
"Visual Ops": {
"github": "lwindolf/lzone-cheat-sheets",
"category": "SRE",
"filePattern": "^visual-ops/(.+)\\.md$"
},
'Runbooks 🐛': {
github: 'lwindolf/lzone-cheat-sheets',
category: 'SRE',
filePattern: '^runbooks/(.+)\\.md$'
"Runbooks 🐛": {
"github": "lwindolf/lzone-cheat-sheets",
"category": "SRE",
"filePattern": "^runbooks/(.+)\\.md$"
},
'Unicorn Arcology': { github: 'lwindolf/unicorn-arcology', category: 'Architecture' }
"Unicorn Arcology": {
"github": "lwindolf/unicorn-arcology",
"category": "Architecture"
}
}

0 comments on commit 8df744b

Please sign in to comment.