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

jeffreybradley1963/pr-optional-output-in-response #4

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

Conversation

jeffreybradley1963
Copy link

@jeffreybradley1963 jeffreybradley1963 commented Jul 11, 2023

Issue #3

@jeffreybradley1963 jeffreybradley1963 changed the title add options to retrieve output jeffreybradley1963/pr-optional-output-in-response Jul 11, 2023
return new Promise((resolve, reject) => {
resolve();
});
return Promise.resolve(returnValue);
Copy link
Owner

Choose a reason for hiding this comment

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

@jeffreybradley1963 I am not sure if it is going to return a new Promise with "new" keyword. Can you instead send the returnValue inside the resolve like

return new Promise((resolve, reject) => {
	resolve(returnValue);
});

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.

2 participants