mirror of
https://github.com/zoriya/flood.git
synced 2025-12-19 21:55:15 +00:00
Switch entirely to fat arrow functions
This commit is contained in:
@@ -185,7 +185,7 @@ class ClientRequest {
|
||||
let sourcePaths = this.getEnsuredArray(options.sourcePaths);
|
||||
|
||||
sourcePaths.forEach((source, index) => {
|
||||
let callback = function () {};
|
||||
let callback = () => {};
|
||||
let destination = `${destinationPath}${path.sep}${filenames[index]}`;
|
||||
let isLastRequest = index + 1 === sourcePaths.length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user