Enable PNPM and rspack #650
Annotations
2 errors
Run tests:
invenio_cli/commands/assets.py#L1
Black format check
--- /home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/assets.py 2025-03-01 00:19:02.130169+00:00
+++ /home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/assets.py 2025-03-01 00:19:42.509322+00:00
@@ -125,11 +125,10 @@
error="No module found on the specified path. "
f"File not found {e.filename}",
status_code=1,
)
-
status_code = assets_pkg.link(module_name)
if status_code == 0:
return ProcessResponse(
output="Global module linked correctly to local folder",
status_code=0,
@@ -137,11 +136,10 @@
else:
return ProcessResponse(
error=f"Unable to link module. Got error code {status_code}",
status_code=status_code,
)
-
def watch_assets(self):
"""High-level command to watch assets for changes."""
watch_cmd = self.cli_config.python_package_manager.run_command(
"invenio",
|
Run tests
Process completed with exit code 1.
|
Loading