chore: migrate project tooling to bun and add eslint linting
This commit is contained in:
@@ -112,7 +112,6 @@ async function start() {
|
||||
}
|
||||
|
||||
shuttingDown = true;
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`received ${signal}, shutting down`);
|
||||
|
||||
server.close();
|
||||
@@ -127,14 +126,12 @@ async function start() {
|
||||
});
|
||||
|
||||
server.listen(config.port, () => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`xartaudio server listening on :${config.port}`);
|
||||
});
|
||||
}
|
||||
|
||||
if (require.main === module) {
|
||||
start().catch((error) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error("failed to start server", error);
|
||||
process.exitCode = 1;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user