diff --git a/package.json b/package.json index 39c6dba4..205126f2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": "true", "scripts": { - "start": "npm run migrate:db && concurrently -n frontend,backend,ml,radar \"npm run start:frontend\" \"npm run start:backend\"", + "start": "concurrently -n frontend,backend \"npm run start:frontend\" \"npm run start:backend\"", "start:frontend": "npm -w packages/frontend run start", "start:backend": "npm -w packages/backend run start", "start:radar": "npm -w packages/backend run start:radar", diff --git a/packages/backend/src/checks/runChecks.ts b/packages/backend/src/checks/runChecks.ts index b7c4d3c0..0c4b3d06 100644 --- a/packages/backend/src/checks/runChecks.ts +++ b/packages/backend/src/checks/runChecks.ts @@ -35,6 +35,11 @@ async function sqlEval(sqlFragment: any, run: any): Promise { delete run.context delete run.radarId delete run.runId + delete run.results + delete run.passed + delete run.details + + if (!run.id) return passed await sql.begin(async (tx) => { // create a virtual table with the run columns, without the id, project_id and is_public columns