Skip to content

vscode-tilt: fix icon path in package.json #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Conversation

landism
Copy link
Member

@landism landism commented Apr 18, 2022

#17 changed the icon value from a path to a url to satisfy the warning "An icon requires a repository with HTTPS protocol to be specified in this package.json.", but then that made publishing fail with "ERROR The specified icon 'extension/https://github.com/raw/tilt-dev/vscode-tilt/main/assets/tilt-transparent.png' wasn't found in the extension."

microsoft/vscode-vsce#341 and microsoft/vscode#30434 make these errors look confusing.

I checked a handful of the top extensions in the vscode marketplace and they all specify their icons as relative paths rather than urls, but they specify their repositories as dicts rather than strings. Changing our repository to a dict and the icon path back to relative made the warning go away 🤷 . I'm guessing the issue is that the vscode warning should have been on the "repository" field for being a string rather than dict.

@landism landism merged commit e73d725 into main Apr 18, 2022
@landism landism deleted the matt/fix_icon_path branch April 18, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant