Tucker McKnight
Fix bug with empty branchname showing up in branch list This was causing the site to be unable to generate when it tried to call git commands on a bad branch name. Also remove a couple of console.log statements that aren't needed anymore.
136 137 138 139 140 141
try {
code.split('')
}
catch (error) {
console.log(code)
}
136 137 138 139 140 141
code.split('')
317
console.log(flatFilesData.filter(entry => entry.file.includes('njk')))
317
9 10 11
if (branchName === 'main') {
console.log(files)
}
9 10 11