Lightning-Flow-Scanner / lightning-flow-scanner-sfdx

A Salesforce CLI Plugin designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.
https://www.npmjs.com/package/lightning-flow-scanner
GNU Affero General Public License v3.0
112 stars 11 forks source link

0 errors when running from command line #75

Closed bilalelaly closed 12 months ago

bilalelaly commented 1 year ago

When running the commands from the command line I get 0 errors : image

However, when I run the command directly from the VSCode Extension I get plenty of errors on the 123 flows. Any idea on where this issue could come from ?

Thanks!

RubenHalman commented 1 year ago

Thank you for reaching out. Long story short. My suspicion is that your package manager accidentally upgraded a dependency (more specifically the dependency of the core module that performs the scan) which is not yet supported by the sfdx plugin. I applied some configuration that should prevent this from happening on your end in future versions, however, you will probably either need to reinstall the sfdx plugin or its dependencies(node modules) to resolve this. Please let me know if that helps!