INNER CODE UNIT · TypeScript
getBinaryFilename
OutlineFoundation/outline-server · src/shadowbox/server/main.ts:270
function getBinaryFilename(file: string): string {
const binDir = path.join(APP_BASE_DIR, 'bin');
return path.join(binDir, file);
}
process.on('unhandledRejection', (error: Error) => {
logging.error(`unhandledRejection: ${error.stack}`);
});
main().catch((error) => {
logging.error(error.stack);
process.exit(1);
});