chore(pin) rm commented code
Brian Tiger Chow committed
Nov 7, 2014 at 18:53 UTC
852674b16777c9a460eda737a4b5cc5be72eeff4
1 file changed
-13
core/commands2/pin.go
-13
@@ -24,19 +24,6 @@ var pinCmd = &cmds.Command{
24
opt, _ := req.Option("recursive")
25
recursive, _ := opt.(bool) // false if cast fails.
26
27
- /*depth := 1 // default (non recursive)
28
-
29
- // if recursive, set depth flag
30
- if recursive {
31
- opt, found := req.Option("depth")
32
- if d, ok := opt.(int); found && ok {
33
- depth = d
34
- } else {
35
- res.SetError(errors.New("cast error"), cmds.ErrNormal)
36
- return
37
- }
38
- }*/
39
-
27
paths, err := internal.ToStrings(req.Arguments())
28
if err != nil {
29
res.SetError(err, cmds.ErrNormal)