Skip to content

Commit

Permalink
fix: add JCLLIB to appendSuffix checks
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Sep 27, 2023
1 parent d7cfb60 commit ef8a96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zowe-explorer/src/shared/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function appendSuffix(label: string): string {
const bracket = label.indexOf("(");
const split = bracket > -1 ? label.substr(0, bracket).split(".", limit) : label.split(".", limit);
for (let i = split.length - 1; i > 0; i--) {
if (["JCL", "CNTL"].includes(split[i])) {
if (["JCL", "JCLLIB", "CNTL"].includes(split[i])) {
return label.concat(".jcl");
}
if (["COBOL", "CBL", "COB", "SCBL"].includes(split[i])) {
Expand Down

0 comments on commit ef8a96f

Please sign in to comment.