Skip to content

Commit

Permalink
fix patch log again
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Dec 13, 2023
1 parent 097f12b commit 1752270
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/jupyak/tasks/_js.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
Expand Down

0 comments on commit 1752270

Please sign in to comment.