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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user