Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When setting CYPRESS_INCLUDE_TAGS with a single numeric tag the library crashes #259

Open
davidcarguz opened this issue Nov 29, 2023 · 0 comments · May be fixed by #275
Open

When setting CYPRESS_INCLUDE_TAGS with a single numeric tag the library crashes #259

davidcarguz opened this issue Nov 29, 2023 · 0 comments · May be fixed by #275

Comments

@davidcarguz
Copy link

When setting the CYPRESS_INCLUDE_TAGS with a single numeric tag (1243) the library crashes when trying to split the includeEnvVar.
Below Stacktrace of the error:
TypeError: includeEnvVar.split is not a function at extractTags (/home/vsts/work/1/s/CMCloudSPA/node_modules/cypress-tags/dist/index.js:57:55) at /home/vsts/work/1/s/CMCloudSPA/node_modules/cypress-tags/dist/index.js:161:42 at transformation (/home/vsts/work/1/s/CMCloudSPA/node_modules/typescript/lib/typescript.js:107888:24) at Object.transformNodes (/home/vsts/work/1/s/CMCloudSPA/node_modules/typescript/lib/typescript.js:107899:78) at Object.transform (/home/vsts/work/1/s/CMCloudSPA/node_modules/typescript/lib/typescript.js:164130:25) at processFile (/home/vsts/work/1/s/CMCloudSPA/node_modules/cypress-tags/dist/index.js:223:52) at Stream.onend (/home/vsts/work/1/s/CMCloudSPA/node_modules/cypress-tags/dist/index.js:234:20) at _end (/home/vsts/work/1/s/CMCloudSPA/node_modules/through/index.js:65:9) at Stream.stream.end (/home/vsts/work/1/s/CMCloudSPA/node_modules/through/index.js:74:5) at DestroyableTransform.onend (/home/vsts/work/1/s/CMCloudSPA/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:577:10) at Object.onceWrapper (node:events:645:28) at DestroyableTransform.emit (node:events:538:35) at DestroyableTransform.emit (node:domain:475:12) at endReadableNT (/home/vsts/work/1/s/CMCloudSPA/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:1010:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)

@LeJeanbono LeJeanbono linked a pull request Oct 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant