mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
restore call to getOutPath function
It strips the last `/` which was part of a partial fix for #3729. Unfortunately, it's not a *real* fix but we might as well leave this as it is until we completely fix it. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -119,11 +119,7 @@ may also specify the level of compression by specifying '-l=<1-9>'.
|
||||
return
|
||||
}
|
||||
|
||||
outPath, _ := req.Options["output"].(string)
|
||||
if len(outPath) == 0 {
|
||||
_, outPath = gopath.Split(req.Arguments[0])
|
||||
outPath = gopath.Clean(outPath)
|
||||
}
|
||||
outPath := getOutPath(req)
|
||||
|
||||
cmplvl, err := getCompressOptions(req)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user