forked from eclipse-theia/vscode-builtin-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pack][js-debug] Fix ext pack issue that left-out js-debug*
We use node-fetch to call open-vsx API end-points. For external built-in extensions, we want to make sure they exist on open-vsx before adding them to the pack, to avoid issues when resolving the pack(we do not check for a specific version, because they may not follow vscode's versioning). It turns-out that For this case, we were generating a URL that had a trailing slash, which did not work: Original URL, returns 404: https://open-vsx.org/api/ms-vscode/js-debug-companion/ Corrected URL (works): https://open-vsx.org/api/ms-vscode/js-debug-companion P.S. also aligned version of `node-fetch` and its typings Fixes eclipse-theia#123 Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
- Loading branch information
1 parent
6610b3e
commit abdeb1b
Showing
3 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters