Commit 0730534e authored by Aral Balkan's avatar Aral Balkan
Browse files

Fixes #254: --sync-to without --sync-from no longer fails

parent 223e9927
......@@ -377,7 +377,7 @@ function remoteConnectionInfo (args) {
}
function defaultRemotePath (account) {
const localFolderPath = pathModule.resolve(syncFrom || path)
const localFolderPath = pathModule.resolve(syncFrom || path || pathModule.dirname('.'))
const localFolderFragments = localFolderPath.split(pathModule.sep)
const localFolderName = localFolderFragments[localFolderFragments.length-1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment