Skip to content

Commit 81b2fbd

Browse files
committed
no cover npm not installed
1 parent 01d4fe0 commit 81b2fbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

idom/client/manage.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ def _run_subprocess(args: List[str], cwd: Path) -> None:
135135
cmd, *args = args
136136
which_cmd = shutil.which(cmd)
137137
if which_cmd is None:
138-
raise RuntimeError(f"Failed to run command - {cmd!r} is not installed.")
138+
raise RuntimeError( # pragma: no cover
139+
f"Failed to run command - {cmd!r} is not installed."
140+
)
139141
try:
140142
subprocess.run(
141143
[which_cmd] + args,

0 commit comments

Comments
 (0)