Skip to content

Commit 88bd2ee

Browse files
committed
remove decimals
1 parent 4e00674 commit 88bd2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/actions/db-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async function runTests(): Promise<TestResult | undefined> {
121121
.from(comments)
122122
.execute();
123123

124-
const dbSizeInMb = (await stat(DB_PATH)).size / 1024 / 1024;
124+
const dbSizeInMb = Math.round((await stat(DB_PATH)).size / 1024 / 1024);
125125

126126
return {
127127
dbSizeInMb,

0 commit comments

Comments
 (0)