Skip to content

Commit 65aa17e

Browse files
committed
fix typo
1 parent 607f842 commit 65aa17e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sugar/path.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func RemoveRecursive(ctx context.Context, db ydb.Connection, pathToRemove string
105105
if err = list(i+1, pt); err != nil {
106106
return xerrors.WithStackTrace(err)
107107
}
108-
err = return db.Scheme().RemoveDirectory(ctx, pt)
108+
err = db.Scheme().RemoveDirectory(ctx, pt)
109109
if err != nil {
110110
return xerrors.WithStackTrace(err)
111111
}
@@ -123,7 +123,7 @@ func RemoveRecursive(ctx context.Context, db ydb.Connection, pathToRemove string
123123
if err != nil {
124124
return xerrors.WithStackTrace(err)
125125
}
126-
126+
127127
default:
128128
return xerrors.WithStackTrace(fmt.Errorf("unknown entry type: %s", child.Type.String()))
129129
}

0 commit comments

Comments
 (0)