17782: Fixes 'array-callback-return' compile warnings.
[arvados-workbench2.git] / src / store / collections / collection-partial-copy-actions.ts
index 849716eb5b55f15e803d0be28633b49b8a6c3af5..49900f2c288d80d739f5d11f131f9cd17a88dba2 100644 (file)
@@ -130,7 +130,7 @@ export const copyCollectionPartialToSelectedCollection = ({ collectionUuid }: Co
                     if (fileExistsInSelectedCollection) {
                         return path;
                     } else {
-                        return;
+                        return null;
                     }
                 });
                 const diffPathToRemove = difference(paths, pathsToRemove);