Fixing bug

This commit is contained in:
K35 2022-01-01 01:24:28 +00:00
parent d64518627d
commit 150c9ec53b
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/jrpcgen", "name": "@hibas123/jrpcgen",
"version": "1.0.1", "version": "1.0.2",
"main": "lib/index.js", "main": "lib/index.js",
"license": "MIT", "license": "MIT",
"packageManager": "yarn@3.1.1", "packageManager": "yarn@3.1.1",

View File

@ -81,6 +81,7 @@ function processFile(ctx: ProcessContext, file: string): Parsed | null {
log("Skipping file %s since it has already be processed", file); log("Skipping file %s since it has already be processed", file);
return null; return null;
} }
ctx.processedFiles.add(file);
log("Processing file %s", file); log("Processing file %s", file);
const content = getFile(file); const content = getFile(file);