Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete files from dest if they are deleted locally #64

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tcfunk
Copy link

@tcfunk tcfunk commented Oct 23, 2017

No description provided.

@zensh
Copy link
Collaborator

zensh commented Oct 24, 2017

I would like to remove the dest dir and then copy files.

@zensh
Copy link
Collaborator

zensh commented Oct 24, 2017

This is break change, if some one do some "append" work.

@tcfunk
Copy link
Author

tcfunk commented Nov 15, 2017

What if deletes were enabled via some config variable that you have to turn on?

@zensh
Copy link
Collaborator

zensh commented Nov 15, 2017

that is good idea!

})
} else {
gutil.log('"' + gutil.colors.cyan(file.path) + '" has no content. Skipping.')
}
return callback()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback will be in conflict if deleteRemote on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants