Skip to content

Commit

Permalink
Fix startup after Denormalizing Run table in #178, and make shared li…
Browse files Browse the repository at this point in the history
…braries available to frontend (#179)
  • Loading branch information
smarr committed Feb 18, 2024
2 parents d3589c2 + a026c17 commit 60bc8b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"compile-uplot": "terser --module --ecma 2018 --compress --mangle -o ./resources/uPlot.esm.min.js -- node_modules/uplot/dist/uPlot.esm.js",
"compile": "tsc",
"postcompile": "npm run prep-static && npm run download-font",
"prep-static": "cp dist/src/frontend/*.js ./resources/",
"prep-static": "cp dist/src/frontend/*.js dist/src/shared/*.js ./resources/",
"download-font": "node dist/src/download.js https://github.com/googlefonts/roboto/releases/download/v2.136/roboto-hinted.zip tmp/roboto-hinted.zip && unzip -o -d dist tmp/roboto-hinted.zip",
"start": "node --enable-source-maps --experimental-json-modules ./dist/src/index.js",
"nodemon": "DEV=true nodemon --enable-source-maps --experimental-json-modules ./dist/src/index.js --watch ./dist/src --watch ./package.json --watch ./src --ext js,json,html",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/db/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export abstract class Database {
name: 'doTableExist',
text: `SELECT *
FROM information_schema.tables
WHERE table_name = 'executor'`
WHERE table_name = 'run'`
});
return result.rowCount === null || result.rowCount <= 0;
}
Expand Down

0 comments on commit 60bc8b5

Please sign in to comment.