Commit fcef972c authored by Steven Allen's avatar Steven Allen

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: default avatarSteven Allen <steven@stebalien.com>
parent 2f964d40
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment