vmware / build-tools-for-vmware-aria

Build Tools for VMware Aria provides development and release management tools for implementing automation solutions based on the VMware Aria Suite and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and Automation Developers to use standard DevOps practices for managing and deploying content.
Other
48 stars 23 forks source link

Typescript SSH type issue #180

Closed unbreakabl3 closed 11 months ago

unbreakabl3 commented 11 months ago

Description

When using SSH with typescript, the exitCode method has the type void. But technically, it returns an integer.

TS example:

image

The same method is working in JS (obviously). Example from the built-in Workflow. Variable exitCode has type Number.

image

Expected behavior: Method .exitCode() should return type number instead of type void

Screenshot 2023-11-06 at 13 11 46

Actual behavior: [What actually happens] Method .exitCode() return type void

Reproduces how often: [What percentage of the time does it reproduce] 100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

2.35.1

Client

Server

VenelinBakalov commented 11 months ago

Closed with https://github.com/vmware/build-tools-for-vmware-aria/pull/190 and to be released in 2.36.0