We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31c04c commit ebcaf2eCopy full SHA for ebcaf2e
lib/clients/drive.js
@@ -128,7 +128,8 @@ module.exports = class DriveClient {
128
return mirrorFolder(dir, { fs: drive, name: '/' }, {
129
watch: true,
130
dereference: true,
131
- keepExisting: true,
+ // When going from fs -> drive, it should overwrite.
132
+ keepExisting: false,
133
ignore: (file, stat, cb) => {
134
if (shouldIgnore(file)) return process.nextTick(cb, null, true)
135
return process.nextTick(cb, null, false)
0 commit comments