-
Notifications
You must be signed in to change notification settings - Fork 234
Description
- Please check our current Issues to see if someone already reported this https://github.com/Microsoft/vsts-node-api/issues
- Take a look at our Instructions for logging issues https://github.com/Microsoft/vsts-node-api/blob/master/CONTRIBUTING.md#instructions-for-logging-issues
Environment
Node version: 8.10.0
Npm version: 6.4.1
OS and version: macOS 10.14.1
vso-node-api version: 6.1.2-preview
Issue Description
Using a valid PAT, one can call IGalleryAPI.createExtension
and attempt to create an extension with a non-existing publisher name and it the promise will return success even though nothing happens, since the publisher was never created.
From microsoft/vscode-vsce#311 (comment):
The call to
createExtension
seems to return a success, this is an issue invso-node-api
.We're using
vso-node-api@6.1.2-preview
which isn't the latest. I attempted to update it to the latest version or even to theazure-devops-node-api
package, but those options don't work because they seem to have removed functionality which VSCE uses... Created #260
Expected behaviour
I expected the call to return a failing Promise, as it used to happen some time in the past. Not sure whether this regression was triggered by an eventual update of vso-node-api
or a service deployment.
Also, in case the issue is fixed in a later version, we can't seem to update from vso-node-api@6.1.2-preview
because #260