diff --git a/src/jupyak/tasks/_js.ipynb b/src/jupyak/tasks/_js.ipynb index b6a6b5b..4ee3422 100644 --- a/src/jupyak/tasks/_js.ipynb +++ b/src/jupyak/tasks/_js.ipynb @@ -269,11 +269,12 @@ " \"scripts\": patch_package_json.scripts,\n", " \"devDependencies\": patch_package_json.dev_dependencies,\n", " }\n", - " print(f\"\"\" ... patching {package_json.parent.name}#{section}\"\"\")\n", + " name = pkg_data.get(\"name\")\n", + " print(f\"\"\" ... patching {name}#{section}\"\"\")\n", "\n", " for section, values in sections.items():\n", " if values:\n", - " print(f\"\"\" ... patching {pkg_data.get(\"name\")}#{section}\"\"\")\n", + " print(f\"\"\" ... patching {name}#{section}\"\"\")\n", " pkg_data.setdefault(section, {}).update(values)" ] },