Skip to content

Skip auto migrate of config when GH_CONFIG_DIR#4017

Merged
mislav merged 1 commit intocli:trunkfrom
despreston:des/avoid-migrate
Jul 20, 2021
Merged

Skip auto migrate of config when GH_CONFIG_DIR#4017
mislav merged 1 commit intocli:trunkfrom
despreston:des/avoid-migrate

Conversation

@despreston
Copy link
Contributor

If GH_CONFIG_DIR is set, don't auto migrate the config file. This fixes
the situation where the path given via GH_CONFIG_DIR does not exist and
the cli attempts to migrate an existing config to that location.

Fixes #3837

If GH_CONFIG_DIR is set, don't auto migrate the config file. This fixes
the situation where the path given via GH_CONFIG_DIR does not exist and
the cli attempts to migrate an existing config to that location.

Fixes cli#3837
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

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

Thank you!

@mislav mislav merged commit 25b6eec into cli:trunk Jul 20, 2021
@despreston despreston deleted the des/avoid-migrate branch January 27, 2022 17:29
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.

Avoid migrating config directory when GH_CONFIG_DIR is set

2 participants