mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-09 11:12:55 +00:00
chore(lint): enable stricter error rules
This commit is contained in:
@@ -1532,8 +1532,10 @@ export async function runNodeMain(params = {}) {
|
||||
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
||||
void runNodeMain()
|
||||
.then((code) => process.exit(code))
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
});
|
||||
.catch(
|
||||
/** @param {unknown} err */ (err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user