Merge pull request #42 from tycrek/dev

pull/43/head
Josh Moore 3 years ago committed by GitHub
commit bf06f3699b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,8 +18,7 @@ module.exports = () => {
data.get()
.then((D) => (d = D.map(([, resource]) => resource)))
.then(() => {
console.log(d);
.then(() =>
d.forEach(({ token, size }) => {
try {
totalSize += size;
@ -32,11 +31,8 @@ module.exports = () => {
} catch (ex) {
// Silently handle missing tokens from dev environment -tycrek
}
});
// Get AWS size
return bucketSize();
})
}))
.then(() => bucketSize())
.then((s3size) => {
log.info('---- Usage metrics ----')
.blank()

Loading…
Cancel
Save