feat: comppatible for different cppcheck versions
This commit is contained in:
		
							parent
							
								
									97081f27ad
								
							
						
					
					
						commit
						e00e6bd275
					
				|  | @ -9,7 +9,7 @@ | ||||||
|             "args": [ |             "args": [ | ||||||
|               "bash", |               "bash", | ||||||
|               "-c", |               "-c", | ||||||
|               "cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --quiet src/*.cpp" |               "cppcheck --suppress=checkersReport --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --quiet src/*.cpp" | ||||||
|             ], |             ], | ||||||
|             "env": [ |             "env": [ | ||||||
|               "PATH=/usr/bin:/bin:/usr/local/bin" |               "PATH=/usr/bin:/bin:/usr/local/bin" | ||||||
|  |  | ||||||
|  | @ -1 +1 @@ | ||||||
| [{"name":"cppcheck","results":[{"score":95,"comment":"### Test results summary\n\n1. error: 1\n2. warning: 0\n3. portability: 0\n4. performance: 0\n5. style: 0\n6. information: 1\n7. debug: 0\n"}],"force_quit":false}] | [{"name":"cppcheck","results":[{"score":95,"comment":"### Test results summary\n\n1. error: 1\n2. warning: 0\n3. portability: 0\n4. performance: 0\n5. style: 0\n6. information: 0\n7. debug: 0\n"}],"force_quit":false}] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user