Update index.ts

This commit is contained in:
syuilo 2021-09-05 16:25:47 +09:00
parent 8823ae7e85
commit 3968ed707b

View File

@ -17,7 +17,8 @@ const ev = new Xev();
/** /**
* Init process * Init process
*/ */
export default async function() { // eslint-disable-next-line import/no-default-export
export default async function(): Promise<void> {
process.title = `Misskey (${cluster.isMaster ? 'master' : 'worker'})`; process.title = `Misskey (${cluster.isMaster ? 'master' : 'worker'})`;
if (cluster.isMaster || program.disableClustering) { if (cluster.isMaster || program.disableClustering) {