Skip to content

Commit

Permalink
fix windows?
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 26, 2024
1 parent bbd0c3b commit f724117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions responder/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"""

import logging
import shutil
import os
import subprocess
import typing as t

Expand All @@ -56,7 +56,7 @@ def cli() -> None:
run: bool = args["run"]

if build:
subprocess.check_call([shutil.which("npm.exe"), "run", "build"], cwd=target) # noqa: S603, S607
subprocess.check_call(["npm", "run", "build"], cwd=target, env=os.environ) # noqa: S603, S607

if run:
# Maximum request limit. Terminating afterward. Suitable for software testing.
Expand Down

0 comments on commit f724117

Please sign in to comment.