Skip to content

Commit 0382a29

Browse files
committed
no cover npm not installed
1 parent 314d93f commit 0382a29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

idom/client/manage.py

+3-1
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)