diff --git a/lib/jrpc.js b/lib/jrpc.js index a32a563..4a44bfa 100755 --- a/lib/jrpc.js +++ b/lib/jrpc.js @@ -7789,6 +7789,7 @@ function processFile(ctx, file) { log2("Skipping file %s since it has already be processed", file); return null; } + ctx.processedFiles.add(file); log2("Processing file %s", file); const content = getFile(file); if (!content) 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); diff --git a/yarn.lock b/yarn.lock index d66aa5b..5a4d18c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -36,6 +36,8 @@ __metadata: ts-node: ^10.4.0 typescript: ^4.5.4 yargs: ^17.3.1 + bin: + jrpc: ./lib/jrpc.js languageName: unknown linkType: soft