diff --git a/src/index.ts b/src/index.ts index c9400c3..36496bd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,10 +17,12 @@ const codeData: Record = {} */ function getCode(dataPath: string, nationalNumber: string) { try { + // if (!codeData[dataPath]) { const bData = readFileSync(dataPath) codeData[dataPath] = deserialize(bData) } + // const data = codeData[dataPath] let prefix = nationalNumber // Find the longest match