mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
13 lines
447 B
JavaScript
Executable File
13 lines
447 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
const { AppRunner } = require('..');
|
|
|
|
// Attaching a logger to the uncaughtExceptionMonitor event,
|
|
// such that the default uncaughtException behavior still occurs.
|
|
process.on('uncaughtExceptionMonitor', (err, origin) => {
|
|
// eslint-disable-next-line no-console
|
|
console.error(`Process is halting due to an ${origin} with error ${err.message}`);
|
|
});
|
|
|
|
// eslint-disable-next-line no-sync
|
|
new AppRunner().runCliSync(process);
|