Audit Workbench advanced scan does not exclude folders I tell it to
I am new to Fortify, but even reading the documentation and other questions I still can not find a solution for this problem. The app I am testing is a .Net/Angular 6 app that has a library of js extensions of which only a few are even used. I want to exclude the folder as it takes hours to scan mostly never used code. I see the exclude tags do appear in the Translation commands, but the scan insists on running them anyway.
I saw another user had the exclude work after adding –Dcom.fortify.sca.follow.imports=false, but still is not working for me on Audit Workbench. Please let me know if I am doing anything wrong.
Here is the commands it shows at start
-b "<project>" -clean
"<Path to folder 1 to exclude>"
"<Path to folder 2 to exclude>"