Fixing bug

This commit is contained in:
K35 2022-01-01 01:25:11 +00:00
parent d64518627d
commit 3f97e5faf0
4 changed files with 5 additions and 1 deletions

View File

@ -7789,6 +7789,7 @@ function processFile(ctx, file) {
log2("Skipping file %s since it has already be processed", file); log2("Skipping file %s since it has already be processed", file);
return null; return null;
} }
ctx.processedFiles.add(file);
log2("Processing file %s", file); log2("Processing file %s", file);
const content = getFile(file); const content = getFile(file);
if (!content) if (!content)

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);

View File

@ -36,6 +36,8 @@ __metadata:
ts-node: ^10.4.0 ts-node: ^10.4.0
typescript: ^4.5.4 typescript: ^4.5.4
yargs: ^17.3.1 yargs: ^17.3.1
bin:
jrpc: ./lib/jrpc.js
languageName: unknown languageName: unknown
linkType: soft linkType: soft