File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -286,21 +286,21 @@ void osp::install(jsi::Runtime &rt,
286
286
return {};
287
287
});
288
288
289
- auto refreshSchema = HOSTFN (" refreshSchema" , 1 ) {
290
- if (count == 0 ) {
291
- throw jsi::JSError (rt, " [react-native-quick-sqlite][refreshSchema] database name is required" );
292
- }
289
+ auto refreshSchema = HOSTFN (" refreshSchema" , 1 ) {
290
+ if (count == 0 ) {
291
+ throw jsi::JSError (rt, " [react-native-quick-sqlite][refreshSchema] database name is required" );
292
+ }
293
293
294
- if (!args[0 ].isString ()) {
295
- throw jsi::JSError (rt, " [react-native-quick-sqlite][refreshSchema] database name must be a string" );
296
- }
294
+ if (!args[0 ].isString ()) {
295
+ throw jsi::JSError (rt, " [react-native-quick-sqlite][refreshSchema] database name must be a string" );
296
+ }
297
297
298
- string dbName = args[0 ].asString (rt).utf8 (rt);
298
+ string dbName = args[0 ].asString (rt).utf8 (rt);
299
299
300
- sqliteRefreshSchema (dbName);
300
+ sqliteRefreshSchema (dbName);
301
301
302
- return {};
303
- });
302
+ return {};
303
+ });
304
304
305
305
auto executeInContext = HOSTFN (" executeInContext" , 3 ) {
306
306
if (count < 4 ) {
You can’t perform that action at this time.
0 commit comments