Skip to content

Commit a2b5520

Browse files
committed
Update: keepExisting false on import
1 parent a374af5 commit a2b5520

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/clients/drive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ module.exports = class DriveClient {
129129
return mirrorFolder(dir, { fs: drive, name: '/' }, {
130130
watch: true,
131131
dereference: true,
132-
keepExisting: true,
132+
// When going from fs -> drive, it should overwrite.
133+
keepExisting: false,
133134
ignore: (file, stat, cb) => {
134135
if (shouldIgnore(file)) return process.nextTick(cb, null, true)
135136
return process.nextTick(cb, null, false)

0 commit comments

Comments
 (0)