mirror of
https://github.com/cooperspencer/gickup
synced 2024-10-18 07:38:08 +02:00
remove comment
This commit is contained in:
parent
77a5c17127
commit
8e2d9b81c7
@ -33,11 +33,6 @@ func Zip(repository string, tozip []string) error {
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
// Ensure that `path` is not absolute; it should not start with "/".
|
||||
// This snippet happens to work because I don't use
|
||||
// absolute paths, but ensure your real-world code
|
||||
// transforms path into a zip-root relative path.
|
||||
|
||||
abspath, err := filepath.Rel(parentDir, path)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user