comment out some logs

This commit is contained in:
Girish Ramakrishnan
2026-01-31 12:09:55 +01:00
parent 1dec4f0070
commit dfe2d27709
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -213,7 +213,7 @@ describe('Storage', function () {
const source = path.join(basePath, params.CopySource.replace(/%2B/g, '+'));
// Key already has prefix but no bucket ptah!
const dest = path.join(bucketPathNoPrefix, params.Key);
console.log('Copying:', source, dest, path.dirname(dest));
// console.log('Copying:', source, dest, path.dirname(dest));
await fs.promises.mkdir(path.dirname(dest), { recursive: true });
await fs.promises.copyFile(source, dest);
}
@@ -326,7 +326,7 @@ describe('Storage', function () {
createReadStream: function() {
return fs.createReadStream(getFullWritablePath(key))
.on('error', function(e){
console.log('error createReadStream: '+key);
// console.log('error createReadStream: ' + key);
if (e.code == 'ENOENT') { e.code = 404; }
this.emit('error', e);
});