From 1e61d6c3f4ad262893499667206365be91310b3f Mon Sep 17 00:00:00 2001 From: Richard Moulton Date: Tue, 30 Dec 2025 14:58:56 +0000 Subject: [PATCH 1/2] Remove orphaned public keyword Signed-off-by: Richard Moulton --- cli/src/builders/bob.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/src/builders/bob.ts b/cli/src/builders/bob.ts index d69e8bc..66a3634 100644 --- a/cli/src/builders/bob.ts +++ b/cli/src/builders/bob.ts @@ -43,8 +43,6 @@ export class BobProject { return list; } - public - public createRules(): OutFiles { let output: OutFiles = {}; const subdirs = Object.keys(this.dirTargets); From 3e7cbadb4f23ec8ea44815b07227b5088448bec2 Mon Sep 17 00:00:00 2001 From: Richard Moulton Date: Tue, 30 Dec 2025 14:59:34 +0000 Subject: [PATCH 2/2] Only process includes that are directly in this file, not nested includes Signed-off-by: Richard Moulton --- cli/src/targets/languages/rpgle.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cli/src/targets/languages/rpgle.ts b/cli/src/targets/languages/rpgle.ts index 4c18312..45128f7 100644 --- a/cli/src/targets/languages/rpgle.ts +++ b/cli/src/targets/languages/rpgle.ts @@ -79,6 +79,11 @@ export async function rpgleTargetCallback(targets: Targets, localPath: string, c ileObject.headers = []; cache.includes.forEach((include: IncludeStatement) => { + // Only process includes that are directly in this file, not nested includes + if (include.fromPath !== localPath) { + return; + } + // RPGLE includes are always returned as posix paths // even on Windows. We need to do some magic to convert here for Windows systems include.toPath = toLocalPath(include.toPath);