vlang / vscode-vlang

V Language extension for Visual Studio Code.
MIT License
386 stars 52 forks source link

ERROR SVGs are restricted in README.md; #530

Closed felixf4xu closed 1 year ago

felixf4xu commented 1 year ago

Hi,

I'm trying to build a local package using vsce (https://code.visualstudio.com/api/working-with-extensions/publishing-extension) and I got an error:

D:\github\vscode-vlang>vsce package Executing prepublish script 'npm run vscode:prepublish'...

vscode-vlang@0.1.14 vscode:prepublish node ./scripts/minify_json.js && cross-env NODE_ENV=production node ./scripts/build.js

ERROR SVGs are restricted in README.md; please use other file image formats, such as PNG: https://vsmarketplacebadge.apphb.com/version/vlanguage.vscode-vlang.svg

As documented at https://code.visualstudio.com/api/working-with-extensions/publishing-extension#publishing-extensions:

Note: Due to security concerns, vsce will not publish extensions that contain user-provided SVG images.

workaround:

I deleted those 2 lines in readme.md