You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
standardVersion() should return Promise<string> with calculated diff so we could use its result programmatically.
Now it returns undefined (there is no return)
Usage example:
conststandardVersion=require('standard-version')constgitLog=awaitstandardVersion({noVerify: true,silent: true,dryRun: true,}).then((result)=>{console.log(result);// it's undefined now and there is diff changelog message in console outputreturnresult;})
Expected output (returned value)
---
## [1.0.0-next-release](2022-05-12)### Features* [OFKR-2125] did smth
---
The text was updated successfully, but these errors were encountered:
standardVersion()
should returnPromise<string>
with calculated diff so we could use its result programmatically.Now it returns
undefined
(there is noreturn
)Usage example:
Expected output (returned value)
The text was updated successfully, but these errors were encountered: