Skip to content

Commit

Permalink
Fix DNR output in uBO's dev tools page
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Dec 8, 2023
1 parent db16dfb commit b35d171
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/js/messaging.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ const onMessage = function(request, sender, callback) {
);
}
const options = {
extensionPaths: redirectEngine.getResourceDetails(),
extensionPaths: redirectEngine.getResourceDetails().filter(e =>
typeof e[1].extensionPath === 'string' && e[1].extensionPath !== ''
).map(e =>
[ e[0], e[1].extensionPath ]
),
env: vAPI.webextFlavor.env,
};
const t0 = Date.now();
Expand Down

0 comments on commit b35d171

Please sign in to comment.