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

Fix commands run without the .js extension #1378

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

a-riva
Copy link
Contributor

@a-riva a-riva commented Apr 10, 2023

With Danger 11.2.5, all our CI pipelines running Danger (with yarn run danger-ci) started to fail due to #1375 failing to replace danger-{command} to danger-runner when without the .js extension. This resulted in an endless loop of calls to danger-ci.

Making the replacement of the .js extension optional seems enough to cover our use case and @mikedidomizio 's (as the test he added in the mentioned PR still passes).

@orta
Copy link
Member

orta commented Apr 11, 2023

Thanks!

@orta orta merged commit c62bff7 into danger:main Apr 11, 2023
1 check passed
@orta
Copy link
Member

orta commented Apr 11, 2023

Shipped

@a-riva a-riva deleted the fix/support-commands-without-js-extension branch April 11, 2023 06:58
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 this pull request may close these issues.

None yet

2 participants