Skip to content
Snippets Groups Projects
Commit 22a1dc05 authored by syuilo's avatar syuilo
Browse files

Better log

parent cc6fa135
No related branches found
Tags 10.26.0
No related merge requests found
......@@ -164,8 +164,8 @@ export default async function(
'metadata.deletedAt': { $exists: false }
});
if (much !== null) {
log('file with same hash is found');
if (much) {
log(`file with same hash is found: ${much._id}`);
return much;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment