Skip to content

Commit

Permalink
Update get-bootstrap-template-vars.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl authored Dec 15, 2022
1 parent 757eb0a commit 626efe9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function getApiPath(apiId: string) {
}

export function getApiPathWithDashes(apiId: string) {
return apiId.replace(/\.v.*/, '').replace(/\./g, '-');
return apiId.replace(/\.v[0-9].*/, '').replace(/\./g, '-');
}

export function getVersion(apiId: string) {
Expand Down

0 comments on commit 626efe9

Please sign in to comment.