aboutsummaryrefslogtreecommitdiffstats
path: root/drive/sync_upload.go
diff options
context:
space:
mode:
authorAnmol Singh Jaggi2016-06-20 01:45:15 +0530
committerGitHub2016-06-20 01:45:15 +0530
commitcddaa25f07f2e9e5c7406cf400420fff478aaf54 (patch)
treeb9e94625f04c0b2faae4a3bb6988f08d66281180 /drive/sync_upload.go
parent5f321357d18b8f5b00674b8719fffcc8338a75cc (diff)
downloadgdrive-cddaa25f07f2e9e5c7406cf400420fff478aaf54.tar.bz2
Fixed typo
`directoy` -> `directory`
Diffstat (limited to 'drive/sync_upload.go')
-rw-r--r--drive/sync_upload.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/drive/sync_upload.go b/drive/sync_upload.go
index 261497d..f1e43a4 100644
--- a/drive/sync_upload.go
+++ b/drive/sync_upload.go
@@ -120,7 +120,7 @@ func (self *Drive) prepareSyncRoot(args UploadSyncArgs) (*drive.File, error) {
// Ensure that the directory is empty
if !isEmpty {
- return nil, fmt.Errorf("Root directoy is not empty, the initial sync requires an empty directory")
+ return nil, fmt.Errorf("Root directory is not empty, the initial sync requires an empty directory")
}
// Update directory with syncRoot property