fix(clone): "glab repo clone" with custom directory

Description

  • Fix "glab repo clone" with custom directory

When cloning a group the command did not recognize the user supplied directory. Additionally the tests did not verify, that the directory variable was correctly set, even in the single repo case.

Signed-off-by: Martin Schurz Martin.Schurz@telekom.de

Related Issues

Resolves #1354

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Martin Schurz

Merge request reports

Loading