Skip to content

Commit 7acd482

Browse files
committed
Ignore extension casing as per IBM i rules
Signed-off-by: worksofliam <[email protected]>
1 parent cd7b98d commit 7acd482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/targets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ export class Targets {
10421042

10431043
const includeDetail = path.parse(include.toPath);
10441044

1045-
if (includeDetail.ext !== `.rpgleinc`) {
1045+
if (includeDetail.ext.toLowerCase() !== `.rpgleinc`) {
10461046
const possibleName = includeDetail.name.toLowerCase().endsWith(`.pgm`) ? includeDetail.name.substring(0, includeDetail.name.length - 4) : includeDetail.name;
10471047

10481048
if (this.suggestions.renames) {

0 commit comments

Comments
 (0)