-
Notifications
You must be signed in to change notification settings - Fork 20
Description
When I tried the Migrate Source option it fixes the /copy and /include statements in program and module source files but it doesn't do the same in copybook files - those files with an rpgleinc extension.
I was looking at the cli/src/targets/language/rpgle.ts logic and it seems trivial to add the rpgleinc extension to the rpgleExtensions array but it doesn't seem right to add this to the rpgleObjects array - there won't be an object for a copybook.
In the cli/src/targets/index.ts logic it executes the Targets.LanguageProvider.handleLanguage() function passing in the resolved object and I was considering modifying this function to allow a null in the object passed in - for copybooks.
I'm really asking for some guidance here on how best to fix the /copy and /include statements in copybooks.