Skip to content

Commit

Permalink
codecov
Browse files Browse the repository at this point in the history
Signed-off-by: jace-roell <jace.roell@hotmail.com>
  • Loading branch information
jace-roell committed Sep 23, 2024
1 parent 2c41dc5 commit 1f2facc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/zostso/src/IssueTso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ export class IssueTso {
): Promise<IIssueResponse> {
let version: string;
opts = opts || {};
let useNewApi =
opts.addressSpaceOptions == null ||
await CheckStatus.isZosVersionAtLeast(session,ZosmfConstants.VERSIONS.V2R4) && (opts.suppressStartupMessages ?? true);
let zosVersionCheck = await CheckStatus.isZosVersionAtLeast(session,ZosmfConstants.VERSIONS.V2R4);
let useNewApi = opts.addressSpaceOptions == null || zosVersionCheck && (opts.suppressStartupMessages ?? true);
if (useNewApi) {
version = "v1";
try {
Expand Down

0 comments on commit 1f2facc

Please sign in to comment.