Removed extraneous console.log()

This commit is contained in:
Mike McDonald
2016-03-07 00:34:41 -08:00
parent ce35b81cc6
commit 0f00d659cb
2 changed files with 0 additions and 4 deletions

View File

@@ -82,7 +82,6 @@ export class GCSAdapter extends FilesAdapter {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let file = this._gcsClient.bucket(this._bucket).file(this._bucketPrefix + filename); let file = this._gcsClient.bucket(this._bucket).file(this._bucketPrefix + filename);
file.delete((err, res) => { file.delete((err, res) => {
console.log("delete: ", filename, err, res);
if(err !== null) { if(err !== null) {
return reject(err); return reject(err);
} }
@@ -100,7 +99,6 @@ export class GCSAdapter extends FilesAdapter {
file.exists((err, exists) => { file.exists((err, exists) => {
if (exists) { if (exists) {
file.download((err, data) => { file.download((err, data) => {
console.log("get: ", filename, err, data);
if (err !== null) { if (err !== null) {
return reject(err); return reject(err);
} }

View File

@@ -27,8 +27,6 @@ export class FilesController extends AdaptableController {
filename = randomHexString(32) + '_' + filename; filename = randomHexString(32) + '_' + filename;
var location = this.adapter.getFileLocation(config, filename); var location = this.adapter.getFileLocation(config, filename);
console.log(this.adapter);
console.log(location);
return this.adapter.createFile(config, filename, data, contentType).then(() => { return this.adapter.createFile(config, filename, data, contentType).then(() => {
return Promise.resolve({ return Promise.resolve({
url: location, url: location,