Commit e6c5fc25 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

docs(commands) todo

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent 56250049
......@@ -160,7 +160,10 @@ func argValue(argDef cmds.Argument, value string) (interface{}, error) {
return value, nil
} else {
in, err := os.Open(value) // FIXME(btc) must close file. fix before merge
// NB At the time of this commit, file cleanup is performed when
// Requests are cleaned up. TODO try to perform open and close at the
// same level of abstraction (or at least in the same package!)
in, err := os.Open(value)
if err != nil {
return nil, err
}
......
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