Skip to content

Commit d97354e

Browse files
authored
Fix --local argument to config init (checking out to config/config) (#1994)
1 parent e7b4358 commit d97354e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Elastic.Documentation.Assembler/Configuration/ConfigurationCloneService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Cancel ctx
2929
{
3030
var checkoutFolder = fs.DirectoryInfo.New(ConfigurationFileProvider.AppDataConfigurationDirectory).Parent;
3131
if (saveLocal)
32-
checkoutFolder = fs.DirectoryInfo.New(ConfigurationFileProvider.LocalConfigurationDirectory);
32+
checkoutFolder = fs.DirectoryInfo.New(ConfigurationFileProvider.LocalConfigurationDirectory).Parent;
3333
if (checkoutFolder is null)
3434
{
3535
collector.EmitGlobalError($"Unable to find checkout folder {checkoutFolder}");

0 commit comments

Comments
 (0)