Closed felixf4xu closed 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:
vsce
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
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
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:As documented at https://code.visualstudio.com/api/working-with-extensions/publishing-extension#publishing-extensions:
workaround:
I deleted those 2 lines in readme.md