From 150c9ec53b8a084f25e2fb1627b8318f96d5888a Mon Sep 17 00:00:00 2001 From: K35 Date: Sat, 1 Jan 2022 01:24:28 +0000 Subject: [PATCH] Fixing bug --- package.json | 2 +- src/process.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 39e2a4d..edbc024 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/jrpcgen", - "version": "1.0.1", + "version": "1.0.2", "main": "lib/index.js", "license": "MIT", "packageManager": "yarn@3.1.1", diff --git a/src/process.ts b/src/process.ts index 49380d3..972f6cb 100644 --- a/src/process.ts +++ b/src/process.ts @@ -81,6 +81,7 @@ function processFile(ctx: ProcessContext, file: string): Parsed | null { log("Skipping file %s since it has already be processed", file); return null; } + ctx.processedFiles.add(file); log("Processing file %s", file); const content = getFile(file);