Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Various fixes#6

Merged
dscho merged 2 commits intomaingitgitgadget/gitgitgadget-github-app:mainfrom
some-fixesgitgitgadget/gitgitgadget-github-app:some-fixesCopy head branch name to clipboard
Sep 2, 2025
Merged

Various fixes#6
dscho merged 2 commits intomaingitgitgadget/gitgitgadget-github-app:mainfrom
some-fixesgitgitgadget/gitgitgadget-github-app:some-fixesCopy head branch name to clipboard

Conversation

@dscho
Copy link
Member

@dscho dscho commented Sep 2, 2025

While working on support for projects other than Git, I stumbled over the issues that are fixed in this PR.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
An Azure Function is supposed to either return a `Promise` or call
`context.done()`, otherwise the following error will be shown:

  [Error]   Error: Choose either to return a promise or call 'done'. Do
  not use both in your script. Learn more:
  https://go.microsoft.com/fwlink/?linkid=2097909

Since we do prefer to return a `Promise`, let's just skip the call to
`context.done()`.

To be sure, these error messages are only shown in the Azure Portal,
when a developer deigns to turn on and look at the logs. Anyway, this
_is_ an error, so let's do fix it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho merged commit 14d758c into main Sep 2, 2025
1 check passed
@dscho dscho deleted the some-fixes branch September 2, 2025 11:49
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.