Removed orphaned "options"

This commit is contained in:
Mike McDonald
2016-02-27 16:47:26 -08:00
parent 2520e7b6c6
commit deafb680ae

View File

@@ -34,7 +34,7 @@ export class GCSAdapter extends FilesAdapter {
return new Promise((resolve, reject) => {
let file = this._gcsClient.bucket(this._bucket).file(this._bucketPrefix + filename);
// gcloud supports upload(file) not upload(bytes), so we need to stream.
var uploadStream = file.createWriteStream(options);
var uploadStream = file.createWriteStream();
uploadStream.on('error', (err) => {
return reject(err);
}).on('finish', () => {