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

Cannot run danger-swift local #561

Open
rarias84 opened this issue Jan 12, 2023 · 2 comments
Open

Cannot run danger-swift local #561

rarias84 opened this issue Jan 12, 2023 · 2 comments

Comments

@rarias84
Copy link

I could run swift run danger-swift local --base dev without problems but now when I run the command I get the following

Error: TypeError: Cannot read property 'metadata' of undefined
at apiForDSL (/snapshot/danger-js/distribution/runner/jsonToDSL.js:133:78)
at /snapshot/danger-js/distribution/runner/jsonToDSL.js:84:23
at step (/snapshot/danger-js/distribution/runner/jsonToDSL.js:52:23)
at Object.next (/snapshot/danger-js/distribution/runner/jsonToDSL.js:33:53)
at /snapshot/danger-js/distribution/runner/jsonToDSL.js:27:71
at new Promise ()
at /snapshot/danger-js/distribution/runner/jsonToDSL.js:23:12
at jsonToDSL (/snapshot/danger-js/distribution/runner/jsonToDSL.js:77:49)
at /snapshot/danger-js/distribution/commands/utils/runDangerSubprocess.js:171:68
at step (/snapshot/danger-js/distribution/commands/utils/runDangerSubprocess.js:44:23)

@f-meloni
Copy link
Member

It seems this error is coming from Danger-JS 🤔

@rarias84
Copy link
Author

I use danger version 11.2.1 and danger swift 3.15.0 .
I can see a danger-response.json but cannot see the report in the terminal just get the error above

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

No branches or pull requests

2 participants