Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: fix cmds async execution #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

isirode
Copy link

@isirode isirode commented Apr 13, 2023

Hello,

I've noticed that the execution order of the sub commands was not working correctly for my use case.

  • The command was returning even though I had put an await in the 'exe' of the sub command

After taking a look at the code, I figure that it was caused by the fact the 'res.cmd.exe(res)' code line is not awaited.

Changes:

  • Correction of the res.cmd.exe code line
  • Adding tests so that the execution order is tested (tests are not passing without the fix)
  • Incrementation of the version according to SemVer
  • Modification of the package-lock.json : that must had happen in the npm install, not intentionnal

I've noticed that you have a branch 'feature/v2', which look like a full rework.

Are you still working on it ?

I've noticed a few bugs in your documentation, I will wait for the answer to this PR before pushing the fixes,in another PR.

Thanks in advance,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant