引入openspec管理
This commit is contained in:
@@ -153,7 +153,7 @@ export const run = async (sql: string, params: any[] = []): Promise<{ id: string
|
||||
reject(new Error('数据库连接未初始化'));
|
||||
return;
|
||||
}
|
||||
db.run(sql, params, function(err: Error) {
|
||||
db.run(sql, params, function(this: any, err: Error | null) {
|
||||
if (err) {
|
||||
reject(err);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user