Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed May 23, 2024
1 parent c8f1a0b commit 49c3fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ class Utils {
if (platformUrl === '') {
return '';
}
if (platformUrl.endsWith('/')) {
if (!platformUrl.endsWith('/')) {
platformUrl = platformUrl + '/';
}
let projectKey = process.env.JF_PROJECT ? process.env.JF_PROJECT : '';
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ export class Utils {
if (platformUrl === '') {
return '';
}
if (platformUrl.endsWith('/')) {
if (!platformUrl.endsWith('/')) {
platformUrl = platformUrl + '/';
}
let projectKey: string = process.env.JF_PROJECT ? process.env.JF_PROJECT : '';
Expand Down

0 comments on commit 49c3fdf

Please sign in to comment.