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

Wait actual end of CompileTools.runAction #1521

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Conversation

sebjulliand
Copy link
Collaborator

Changes

Since CompileTools.runAction now uses task, it returns right after the task is created and started.
This PR makes it wait for the actual end of the action before returning and also lets the code-for-ibmi.runAction command returns the result of the action as a boolean.

Checklist

  • have tested my change
  • Remove any/all console.logs I added

@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Sep 6, 2023
@sebjulliand sebjulliand self-assigned this Sep 6, 2023
worksofliam
worksofliam previously approved these changes Sep 6, 2023
Copy link
Contributor

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected, just check out my comment about the CL runner above.

@sebjulliand
Copy link
Collaborator Author

@worksofliam there you go!

Copy link
Contributor

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nice functional change. Thanks @sebjulliand!

@worksofliam worksofliam merged commit 91b7927 into master Sep 7, 2023
1 check passed
@sebjulliand sebjulliand deleted the fix/awaitForRunAction branch September 7, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A confirmed issue when something isn't working as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants