Skip to content

Run command initialize() in order to ensure that directory structures are created#1180

Closed
hozn wants to merge 2 commits intopython-poetry:developfrom
hozn:config-dir-autocreate
Closed

Run command initialize() in order to ensure that directory structures are created#1180
hozn wants to merge 2 commits intopython-poetry:developfrom
hozn:config-dir-autocreate

Conversation

@hozn
Copy link
Copy Markdown

@hozn hozn commented Jun 20, 2019

  • Added tests for changed code.
  • (N/A - bug) Updated documentation for changed code.

With the update the Cleo 0.7.x (https://github.com/sdispater/cleo/blob/master/CHANGELOG.md) the initialize() method of ConfigCommand was no longer being called by the superclass. This PR just calls it explicitly from handle() in order to ensure that the directories are created. Also adds a test to ensure that this functionality works correctly.

@brycedrennan brycedrennan added the kind/bug Something isn't working as expected label Aug 17, 2019
Copy link
Copy Markdown
Contributor

@brycedrennan brycedrennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hozn thanks for contributing! Could you please rebase off of latest develop and squash your two commits together?

@hozn
Copy link
Copy Markdown
Author

hozn commented Aug 18, 2019 via email

@sdispater
Copy link
Copy Markdown
Member

The config has been refactored (see #1349) and this should no longer be needed.

@sdispater sdispater closed this Oct 5, 2019
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kind/bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants