|
@@ -37,10 +37,10 @@ class JSONImporter {
|
|
|
) async {
|
|
) async {
|
|
|
let hasImported = UserDefaults.standard.bool(forKey: userDefaultsKey)
|
|
let hasImported = UserDefaults.standard.bool(forKey: userDefaultsKey)
|
|
|
|
|
|
|
|
-// guard !hasImported else {
|
|
|
|
|
-// debugPrint("\(filePathComponent) already imported. Skipping import.")
|
|
|
|
|
-// return
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+ guard !hasImported else {
|
|
|
|
|
+ debugPrint("\(filePathComponent) already imported. Skipping import.")
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
do {
|
|
do {
|
|
|
// Get the file path for the JSON file
|
|
// Get the file path for the JSON file
|