Skip to content

Commit f81d636

Browse files
committed
style: run prettier
1 parent 14a6a35 commit f81d636

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dist:pkg": "rimraf bin && pkg --out-path ./bin package.json",
1717
"dev": "NODE_ENV=development npm-run-all build server",
1818
"dev:watch": "nodemon",
19-
"pretty": "prettier --write \"./src/**/*.{js,json,yml,md,vue,css,scss}\"",
19+
"pretty": "prettier --write \"{src,test}/**/*.ts\"",
2020
"server": "node ./dist/start.js",
2121
"test": "node -r esm ./node_modules/.bin/mocha 'test/**/*.js' --recursive "
2222
},

src/lib/connectionPool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { SQLStatement } from 'sql-template-strings'
66
pg.types.setTypeParser(20, 'text', parseInt)
77
const { Pool } = pg
88

9-
export const RunQuery = async (connectionString: any, sql: string|SQLStatement) => {
9+
export const RunQuery = async (connectionString: any, sql: string | SQLStatement) => {
1010
const pool = new Pool({ connectionString })
1111
try {
1212
const results = await pool.query(sql)

src/lib/interfaces.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export namespace Tables {
6565
is_typed: boolean
6666
bytes: number
6767
size: string
68-
rls_enabled: boolean // determines where RLS has been turned on
69-
rls_forced: boolean // determines whether RLS should be forced on the table owner
68+
rls_enabled: boolean // determines where RLS has been turned on
69+
rls_forced: boolean // determines whether RLS should be forced on the table owner
7070

7171
// pg_stat_all_tables columns
7272
sequential_scans: number

0 commit comments

Comments
 (0)