We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbefa64 commit 44f4504Copy full SHA for 44f4504
python/pminit/pminit/cli.py
@@ -11,10 +11,7 @@ def execute(cmd: str, cwd: str):
11
12
popen.stdout.close()
13
return_code = popen.wait()
14
- #For some reason npm returns a non zero
15
- #exit code when `--help` is used in the commands.
16
- #This shouldn't raise an error.
17
- if return_code and "--help" not in cmd:
+ if return_code:
18
raise subprocess.CalledProcessError(return_code, cmd)
19
20
def commandType(value: str):
0 commit comments