Skip to content

Commit

Permalink
change paranet repository naming for v8
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksaelezovic committed Jan 17, 2025
1 parent 6c1d064 commit 77a6fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/paranet-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ParanetService {
getParanetRepositoryName(paranetUAL) {
if (this.ualService.isUAL(paranetUAL)) {
// Replace : and / with -
return paranetUAL.replace(/[/:]/g, '-').toLowerCase();
return `paranet-${paranetUAL.replace(/[/:]/g, '-').toLowerCase()}`;
}
throw new Error(
`Unable to get Paranet repository name. Paranet id doesn't have UAL format: ${paranetUAL}`,
Expand Down

0 comments on commit 77a6fd0

Please sign in to comment.