Add PFL and PFH files.
This commit is contained in:
@@ -2,8 +2,8 @@ import { DBFFile } from "dbffile";
|
||||
import log from "electron-log/main";
|
||||
import _ from "lodash";
|
||||
import deepLowerCaseKeys from "../../util/deepLowercaseKeys";
|
||||
import { OwnerRecordInterface, DecodedAd1 } from "./decode-ad1.interface";
|
||||
import errorTypeCheck from "../../util/errorTypeCheck";
|
||||
import { DecodedAd1, OwnerRecordInterface } from "./decode-ad1.interface";
|
||||
|
||||
const DecodeAD1 = async (
|
||||
extensionlessFilePath: string
|
||||
@@ -14,7 +14,7 @@ const DecodeAD1 = async (
|
||||
} catch (error) {
|
||||
log.error("Error opening AD1 File.", errorTypeCheck(error));
|
||||
dbf = await DBFFile.open(`${extensionlessFilePath}.AD1`);
|
||||
log.log("Found AD1 file using regular CIECA Id.");
|
||||
log.log("Trying to find AD1 file using regular CIECA Id.");
|
||||
}
|
||||
|
||||
if (!dbf) {
|
||||
|
||||
Reference in New Issue
Block a user