dipesh2025 commited on
Commit
c508c7e
·
verified ·
1 Parent(s): 0dd231f

Update app.py

Browse files

Added more logs

Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -68,7 +68,10 @@ def run_cppcheck(source_code: str):
68
  lang_args = ["--std=c++17", "--language=c++", "--profile=misra-cpp-2012"]
69
  print("misra-cpp-2012")
70
 
71
- cmd = ["cppcheck", "--enable=all", *lang_args, "--template=json", tf.name]
 
 
 
72
 
73
  res = subprocess.run(cmd, capture_output=True, text=True)
74
  try:
 
68
  lang_args = ["--std=c++17", "--language=c++", "--profile=misra-cpp-2012"]
69
  print("misra-cpp-2012")
70
 
71
+ #cmd = ["cppcheck", "--enable=all", *lang_args, "--template=json", tf.name]
72
+ cmd = ["cppcheck", "--enable=all", *lang_args, tf.name]
73
+
74
+ print(cmd)
75
 
76
  res = subprocess.run(cmd, capture_output=True, text=True)
77
  try: