use cliHighlight to prevent it being removed by compiler

This commit is contained in:
geekgeekrun
2024-03-22 09:45:26 +08:00
parent ca333ce2da
commit 3ea1f2e22c

View File

@@ -15,7 +15,7 @@ import { UserInfo } from "./entity/UserInfo";
import sqlite3 from 'sqlite3';
import * as cliHighlight from 'cli-highlight';
void cliHighlight;
Boolean(cliHighlight);
function initDb(dbFilePath) {
const { DataSource } = requireTypeorm()