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,
286286 return {};
287287 });
288288
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+ }
293293
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+ }
297297
298- string dbName = args[0 ].asString (rt).utf8 (rt);
298+ string dbName = args[0 ].asString (rt).utf8 (rt);
299299
300- sqliteRefreshSchema (dbName);
300+ sqliteRefreshSchema (dbName);
301301
302- return {};
303- });
302+ return {};
303+ });
304304
305305 auto executeInContext = HOSTFN (" executeInContext" , 3 ) {
306306 if (count < 4 ) {
You can’t perform that action at this time.
0 commit comments