errata-ai / vale-action

:octocat: The official GitHub Action for Vale -- install, manage, and run Vale with ease.
MIT License
201 stars 51 forks source link

fix: code errors in main.ts and main.js #140

Closed SMoraisAnsys closed 1 day ago

SMoraisAnsys commented 2 days ago

I tested #132 and, as @anaxite mentioned, there was a typo in the code.

The changes consist in correctly declaring variable options and waiting for promises to be resolved, i.e. using await instead of yield.