Skip to content

Commit

Permalink
Fix support function in SQLite index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
censujiang committed Dec 5, 2023
1 parent db3663c commit 03e77b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sqlite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,7 @@ export async function checkStore(name: string, storeName: string) {
*/
function support(): boolean {
try {
return (
typeof plus.sqlite !== undefined
);
return plus.sqlite !== undefined
} catch (e) {
return false;
}
Expand Down

0 comments on commit 03e77b5

Please sign in to comment.