Skip to content

Commit

Permalink
Fixed a bug to load checklist technology only
Browse files Browse the repository at this point in the history
  • Loading branch information
UmarMohamedUsman committed Mar 16, 2024
1 parent 9adeeca commit 44aef55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/service/GHParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ class GHParser {
}

findTechnology(element : string) : string {
let index = element.lastIndexOf("_");
return element.slice(0, index);
let startIndex = element.indexOf("/");
let endIndex = element.lastIndexOf("_");
return element.slice(startIndex+1, endIndex);
}
}

Expand Down

0 comments on commit 44aef55

Please sign in to comment.