Skip to content

Commit

Permalink
Return version correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Mar 19, 2024
1 parent 9a51bf6 commit b29b801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function getTSTVersion() {
case WS_ID:
// WS 0.1-1.0 are corresponding to TST 4.x
const majorAndMinor = version.match(/^(\d+)\.(\d+)/);
return Math.ceil(parseFloat(majorAndMinor)) + 3;
return String(Math.ceil(parseFloat(majorAndMinor)) + 3);
}
return 0;
return '0.0';
}

0 comments on commit b29b801

Please sign in to comment.