Skip to content

check if changelogDir is not null #10

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

Merged
merged 2 commits into from
May 21, 2021
Merged

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented May 20, 2021

Apparently, there was a check missing:
If the changelogDir is not defined, the code tries in any case to create a directory. That behavior is wrong.
Maybe it would be even better to add a test for it.

I discovered this bug by using the action with changelog-file-path: "CHANGELOG.md" (which BTW should be the default setting)

@umbynos umbynos requested a review from silvanocerza May 20, 2021 16:21
@umbynos umbynos self-assigned this May 20, 2021
@umbynos umbynos force-pushed the umbynos/check_changelog_dir branch from d66929a to 7266b3d Compare May 20, 2021 16:23
@umbynos umbynos force-pushed the umbynos/check_changelog_dir branch from 7266b3d to ebc9f86 Compare May 21, 2021 08:55
@umbynos umbynos merged commit 07ece41 into main May 21, 2021
@umbynos umbynos deleted the umbynos/check_changelog_dir branch May 21, 2021 09:14
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234 per1234 added the topic: code Related to content of the project itself label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants