site: properly link bot contributors

pull/6352/head
gltchitm 5 years ago
parent b295d68ec6
commit b9bf964d86
No known key found for this signature in database
GPG Key ID: B948CA7A1F4654AF

@ -45,7 +45,7 @@ async function main() {
// TODO: Optimizing the static/contributors.jpg image should probably get automated as well
console.log('remember to additionally optimize the resulting /static/contributors.jpg image file via e.g. https://squoosh.app ');
const str = `[\n\t${authors.map(a => `'${a.login}'`).join(',\n\t')}\n]`;
const str = `[\n\t${authors.map(a => `'${a.login.replace('[bot]', '')}'`).join(',\n\t')}\n]`;
fs.writeFileSync(`../src/routes/_contributors.js`, `export default ${str};`);
}

Loading…
Cancel
Save