mirror of
https://github.com/zoriya/flood.git
synced 2025-12-19 21:55:15 +00:00
@@ -249,7 +249,7 @@ class ClientRequest {
|
||||
let callback = () => {
|
||||
// empty initializer
|
||||
};
|
||||
const destination = `${destinationPath}${path.sep}${filenames[index]}`;
|
||||
const destination = path.join(destinationPath, filenames[index]);
|
||||
const isLastRequest = index + 1 === sourcePaths.length;
|
||||
|
||||
if (isLastRequest) {
|
||||
|
||||
@@ -285,7 +285,7 @@ const client = {
|
||||
moveTorrentsRequest.moveTorrents({
|
||||
filenames,
|
||||
sourcePaths,
|
||||
resolvedPath,
|
||||
destinationPath: resolvedPath,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user