Commit 888c5fc4 authored by Steven Allen's avatar Steven Allen

remove useless cast

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 9cc6285b
...@@ -54,7 +54,7 @@ The output is: ...@@ -54,7 +54,7 @@ The output is:
cmdkit.BoolOption("file-order", "sort the results based on the path of the backing file"), cmdkit.BoolOption("file-order", "sort the results based on the path of the backing file"),
}, },
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) { Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) {
_, fs, err := getFilestore(env.(*oldCmds.Context)) _, fs, err := getFilestore(env)
if err != nil { if err != nil {
res.SetError(err, cmdkit.ErrNormal) res.SetError(err, cmdkit.ErrNormal)
return return
......
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