@vscode/vsce 3.3.2-0 → 3.3.3-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/out/store.js +4 -1
  2. package/package.json +1 -1
package/out/store.js CHANGED
@@ -123,7 +123,10 @@ async function verifyPat(options) {
123
123
  await api.getRoleAssignments('gallery.publisher', publisherName);
124
124
  }
125
125
  catch (error) {
126
- throw new Error('The Personal Access Token verification has failed. Additional information:\n\n' + error);
126
+ if (error instanceof Error) {
127
+ throw new Error('The Personal Access Token verification has failed. Additional information:\n\n' + error.message);
128
+ }
129
+ throw new Error('The Personal Access Token verification has failed.' + error);
127
130
  }
128
131
  console.log(`The Personal Access Token verification succeeded for the publisher '${publisherName}'.`);
129
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/vsce",
3
- "version": "3.3.2-0",
3
+ "version": "3.3.3-0",
4
4
  "description": "VS Code Extensions Manager",
5
5
  "repository": {
6
6
  "type": "git",