gotta find this, by stubbing out

This commit is contained in:
Mark Nadal 2021-08-21 07:55:51 -07:00
parent 1cb5414013
commit 1fe4d3ed94
2 changed files with 2 additions and 12 deletions

View File

@ -66,6 +66,7 @@ function Store(opt){
var cbs = c.g[file] = [cb]; var cbs = c.g[file] = [cb];
var params = {Bucket: opts.bucket, Key: file||''}; var params = {Bucket: opts.bucket, Key: file||''};
//console.log("RS3 GET ---->", file); //console.log("RS3 GET ---->", file);
return;
s3.getObject(params, function got(err, ack){ s3.getObject(params, function got(err, ack){
if(err && 'NoSuchKey' === err.code){ err = u } if(err && 'NoSuchKey' === err.code){ err = u }
console.log("RS3 GOT <----", err, file, cbs.length, ((ack||{}).Body||'').toString().slice(0,20)); console.log("RS3 GOT <----", err, file, cbs.length, ((ack||{}).Body||'').toString().slice(0,20));

View File

@ -60,26 +60,15 @@
"optionalDependencies": { "optionalDependencies": {
"@peculiar/webcrypto": "^1.1.1", "@peculiar/webcrypto": "^1.1.1",
"text-encoding": "^0.7.0", "text-encoding": "^0.7.0",
"emailjs": "^2.2.0", "emailjs": "^2.2.0"
"buffer": "^5.4.3"
}, },
"peerDependencies": { "peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2",
"text-encoding": "^0.7.0" "text-encoding": "^0.7.0"
}, },
"devDependencies": { "devDependencies": {
"@types/ip": "^1.1.0",
"@types/mocha": "^7.0.1",
"@types/node": "^13.7.0",
"@types/uglify-js": "^3.0.4",
"@types/ws": "^7.2.1",
"aws-sdk": "^2.528.0", "aws-sdk": "^2.528.0",
"ip": "^1.1.5", "ip": "^1.1.5",
"iris-messenger": "github:irislib/iris-messenger",
"mocha": "^6.2.0", "mocha": "^6.2.0",
"panic-manager": "^1.2.0",
"panic-server": "^1.1.1",
"uglify-js": "^3.6.0" "uglify-js": "^3.6.0"
} }
} }