1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-15 07:43:35 +00:00

fix Travis build errors with formatting

This commit is contained in:
Cnly
2018-08-19 02:01:34 +08:00
parent dc4c3e57cc
commit 0a1060f8d3

View File

@@ -16,6 +16,7 @@ import (
"github.com/ncw/rclone/backend/onedrive/api"
"github.com/ncw/rclone/fs"
"github.com/ncw/rclone/fs/config"
"github.com/ncw/rclone/fs/config/configmap"
"github.com/ncw/rclone/fs/config/configstruct"
"github.com/ncw/rclone/fs/config/obscure"
@@ -28,7 +29,6 @@ import (
"github.com/ncw/rclone/lib/rest"
"github.com/pkg/errors"
"golang.org/x/oauth2"
"github.com/ncw/rclone/fs/config"
)
const (
@@ -1054,9 +1054,8 @@ func (f *Fs) About() (usage *fs.Usage, err error) {
func (f *Fs) Hashes() hash.Set {
if f.driveType == driveTypePersonal {
return hash.Set(hash.SHA1)
} else {
return hash.Set(hash.QuickXorHash)
}
return hash.Set(hash.QuickXorHash)
}
// ------------------------------------------------------------