You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the find-dead-code script would fail for the following two variable definitions even though they are supposed to be exempt from the scripts testing.
Actual Behavior
Running the find-dead-code script would fail for the following two variable definitions even though they are supposed to be exempt from the scripts testing.
https://github.com/intershop/intershop-pwa/blob/develop/src/app/core/utils/routing.ts#L31-L32
https://github.com/intershop/intershop-pwa/blob/develop/src/app/core/store/store-devtools.module.production.ts#L1-L2
We currently have a workaround in place that exempts the whole files from checking for dead code. This should not be necessary.
https://github.com/intershop/intershop-pwa/blob/develop/scripts/find-dead-code.ts#L7
Expected Behavior
Running the find-dead-code script should result in no errors with this configuration:
Steps to Reproduce the Bug
fileExceptionsRegex
in\scripts\find-dead-code.ts
toAdditional Context, like Screenshots, Log File Snippets etc.
For some reason the logic of
does not apply to the two mentioned
const
declarations.AB#78338
The text was updated successfully, but these errors were encountered: