I am working on a VSTS extension using Typescript and utilizing the vsts-task-lib
Currently, I am encountering an issue with the execSync function, which displays the command being executed. However, I need to hide a token obtained from a service by displaying asterisks instead of its actual value.
When using a token from a password field, it is automatically masked as asterisks.
Is there a method to achieve the same masking for tokens retrieved from a service in Typescript?
Any suggestions on how to create a "secret" variable in Typescript that masks the value like password fields do? There must be a property or workaround available since password fields mask their values by default.