Skip to content

Commit

Permalink
Update readCards.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Manwe-777 committed May 4, 2024
1 parent f04a0fd commit 3df3055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reader/readCards.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Cards } from "mtgatool-shared";

import upsertDbCards from "../toolDb/upsertDbCards";
import isElectron from "../utils/electron/isElectron";

interface ReaderCard {
key: number;
Expand All @@ -10,6 +11,7 @@ interface ReaderCard {
}

export default function readCards() {
if (!isElectron()) return;
// eslint-disable-next-line no-undef
const reader = __non_webpack_require__("mtga-reader");

Expand Down

0 comments on commit 3df3055

Please sign in to comment.