feat: remove bash -c
This commit is contained in:
		
							parent
							
								
									8489ad8d86
								
							
						
					
					
						commit
						b6fa85790f
					
				
							
								
								
									
										35
									
								
								conf.json
									
									
									
									
									
								
							
							
						
						
									
										35
									
								
								conf.json
									
									
									
									
									
								
							|  | @ -7,20 +7,19 @@ | ||||||
|         "with": { |         "with": { | ||||||
|           "default": { |           "default": { | ||||||
|             "args": [ |             "args": [ | ||||||
|               "bash", |               "cppcheck", | ||||||
|               "-c", |               "--template={\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}", | ||||||
|               "cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --quiet src/*.cpp" |               "--force", | ||||||
|             ], |               "--enable=all", | ||||||
|             "env": [ |               "--quiet", | ||||||
|               "PATH=/usr/bin:/bin:/usr/local/bin" |               "." | ||||||
|             ], |             ], | ||||||
|  |             "env": ["PATH=/usr/bin:/bin:/usr/local/bin"], | ||||||
|             "cpuLimit": 10000000000, |             "cpuLimit": 10000000000, | ||||||
|             "memoryLimit": 419430400, |             "memoryLimit": 419430400, | ||||||
|             "procLimit": 50, |             "procLimit": 50, | ||||||
|             "copyInDir": ".", |             "copyInDir": ".", | ||||||
|             "copyOut": [ |             "copyOut": ["stdout"], | ||||||
|               "stdout" |  | ||||||
|             ], |  | ||||||
|             "stdin": { |             "stdin": { | ||||||
|               "content": "" |               "content": "" | ||||||
|             }, |             }, | ||||||
|  | @ -41,29 +40,19 @@ | ||||||
|           "score": 100, |           "score": 100, | ||||||
|           "matches": [ |           "matches": [ | ||||||
|             { |             { | ||||||
|               "severity": [ |               "severity": ["error"], | ||||||
|                 "error" |  | ||||||
|               ], |  | ||||||
|               "score": 5 |               "score": 5 | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "severity": [ |               "severity": ["warning"], | ||||||
|                 "warning" |  | ||||||
|               ], |  | ||||||
|               "score": 2 |               "score": 2 | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "severity": [ |               "severity": ["portability", "performance", "style"], | ||||||
|                 "portability", |  | ||||||
|                 "performance", |  | ||||||
|                 "style" |  | ||||||
|               ], |  | ||||||
|               "score": 1 |               "score": 1 | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "severity": [ |               "severity": ["debug"], | ||||||
|                 "debug" |  | ||||||
|               ], |  | ||||||
|               "score": 0 |               "score": 0 | ||||||
|             } |             } | ||||||
|           ] |           ] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user