Repository navigation
feat: vercast 2.0.0 - #71
Conversation
Signed-off-by: Matt Gleich <[email protected]>
| state = DeploymentState.failed | ||
| break | ||
| const teamIDs = Object.keys(teams) | ||
| for (let i = -1; i < teamIDs.length; i++) { |
There was a problem hiding this comment.
On purpose to start the loop at -1? Asking since I see "undefined" logs in the console and it looks like they're coming from here.
There was a problem hiding this comment.
The loop starts at a negative one because the loop needs to run at least once for your personal account. I think making a function just for getting deployments and calling it for once for the personal account and over and over again for teams is a better implementation.
| const json = await response.json() | ||
| for (const project of json.projects) { | ||
| for (const deployment of project.latestDeployments) { | ||
| if (deployment.creator.username === username) { |
There was a problem hiding this comment.
Could that be the reason why I'm not using my teams' deployments? The list shows up empty for me – I guess that's because I'm not the creator of those deployments?
There was a problem hiding this comment.
Yep, it only shows your deployments.
| "description": "View your Vercel deployments", | ||
| "icon": "icon.png", | ||
| "author": "matt", | ||
| "license": "MPL-2.0", |
There was a problem hiding this comment.
@gleich Could you please update the license to MIT here?
There was a problem hiding this comment.
Should the license not match the actual license? I am using MPL-2.0 in the repo and in my attached code...
There was a problem hiding this comment.
Yeah, please also remove the license file. We have a LICENSE file already in the repo's root folder and require all extensions to have MIT.
* feat: add conventional comments extension * feat: vercast 2.0.0 (#71) Signed-off-by: Matt Gleich <[email protected]> * fix: change icon & update comand description * fix: wrong merge Co-authored-by: Matt Gleich <[email protected]>
Signed-off-by: Matt Gleich <[email protected]>
* feat: add conventional comments extension * feat: vercast 2.0.0 (raycast#71) Signed-off-by: Matt Gleich <[email protected]> * fix: change icon & update comand description * fix: wrong merge Co-authored-by: Matt Gleich <[email protected]>
Signed-off-by: Matt Gleich [email protected]
Description
Type of change
Bug fix / improvement for my extension
Screencast
Screen.Recording.2021-10-17.at.12.47.14.AM.mov
Checklist