QiuminGe / cpp-check-lint

MIT License
12 stars 7 forks source link

The full path is not added to the command line for "--suppressions-list=" option #47

Closed alepac closed 1 month ago

alepac commented 11 months ago

The "--suppressions-list=" commandline option is passed as-is without adding the full project path. I think that the full path is needed using the "this.base.to_full_name" in case a value is present. https://github.com/QiuminGe/cpp-check-lint/blob/3c3ac68f4119a824c2d8137db069ca987fcb89ff/src/cppcheck.js#L34C26-L34C27

QiuminGe commented 1 month ago

If ${workspaceFolder} is included, it will be replaced.