Skip to content

Commit

Permalink
update some stuff to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jan 27, 2025
1 parent 6e9f246 commit 69960c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1107,12 +1107,12 @@ if (
parseBooleanFromText(process.env.PREVENT_UNHANDLED_EXIT)
) {
// Handle uncaught exceptions to prevent the process from crashing
process.on("uncaughtException", function (err) {
process.on("uncaughtException", (err) => {
console.error("uncaughtException", err);
});

// Handle unhandled rejections to prevent the process from crashing
process.on("unhandledRejection", function (err) {
process.on("unhandledRejection", (err) => {
console.error("unhandledRejection", err);
});
}
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions scripts/bug_hunt/utils/node_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def run_biome(self, target_path: str, config: Optional[Dict[str, Any]] = None) -
# Base command for checking only (no fixes)
cmd = [
"bun",
"run",
"biome",
"check",
"src", # Just check src directory
Expand Down
4 changes: 2 additions & 2 deletions tests/testLibrary.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ async function runProcess(command, args = [], directory = projectRoot()) {

async function installProjectDependencies() {
log("Installing dependencies...");
return await runProcess("bun", ["install", "-r"]);
return await runProcess("bun", ["install"]);
}

async function buildProject() {
log("Building project...");
return await runProcess("bun", ["build"]);
return await runProcess("bun", ["run", "build"]);
}

async function writeEnvFile(entries) {
Expand Down

0 comments on commit 69960c6

Please sign in to comment.