10 lines
312 B
JavaScript
10 lines
312 B
JavaScript
import { runtime } from '../platform/runtime.mjs';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
try {
|
|
process.exitCode = runtime({ repository: fileURLToPath(new URL('../', import.meta.url)), args: process.argv.slice(2) });
|
|
} catch (error) {
|
|
console.error(`server: ${error.message}`);
|
|
process.exitCode = 1;
|
|
}
|