Skip to content

Commit

Permalink
Merge pull request Ericsson#3812 from ericLemanissier/patch-1
Browse files Browse the repository at this point in the history
cppcheck: allow spaces in path
  • Loading branch information
bruntib authored Jan 9, 2023
2 parents 34e31fb + 011d769 commit 5e42e78
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions analyzer/codechecker_analyzer/analyzers/cppcheck/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from pathlib import Path
import os
import re
import shlex
import shutil
import subprocess
import xml.etree.ElementTree as ET
Expand Down Expand Up @@ -301,7 +300,6 @@ def __get_analyzer_version(cls, analyzer_binary, env):
command = [analyzer_binary, "--version"]

try:
command = shlex.split(' '.join(command))
result = subprocess.check_output(
command,
env=env,
Expand Down

0 comments on commit 5e42e78

Please sign in to comment.