6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-10 11:24:17 +00:00

Fix issues found by wsl linter

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-24 14:54:02 +02:00
parent 59aaaffe35
commit 0bf2765349
16 changed files with 59 additions and 15 deletions

View File

@@ -30,6 +30,7 @@ func Get(c *GetCfg) error {
if c.Dump != "" {
return cloneDumpFile(c)
}
return nil
}
@@ -74,10 +75,12 @@ func cloneDumpFile(c *GetCfg) error {
}
fmt.Printf("Cloning %s...\n", opts.URL.String())
_, err = git.Clone(opts)
if err != nil {
return err
}
}
return nil
}