Skip to content

js: Account for promisified call() method

A promisified method expects the callback parameter to be either a function (in which case the original method is called normally) or omitted altogether (in which case a Promise is returned).

The call to open application details in Software does neither and passes null instead, which will result in a warning (because no function argument means a promise will be used, but not omitting the parameter means we end up with too many arguments).

Fixes #2551 (closed)

Edited by Florian Müllner

Merge request reports