We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
version
package.json
1 parent 8285f2d commit d47eff8Copy full SHA for d47eff8
jupyter_releaser/npm.py
@@ -145,7 +145,7 @@ def get_package_versions(version):
145
"""Get the formatted list of npm package names and versions"""
146
message = ""
147
data = json.loads(PACKAGE_JSON.read_text(encoding="utf-8"))
148
- if data["version"] != version:
+ if data.get("version", "") != version:
149
message += f"\nPython version: {version}"
150
message += f'\nnpm version: {data["name"]}: {data["version"]}'
151
if "workspaces" in data:
0 commit comments