We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8ba7c1 commit b61cd47Copy full SHA for b61cd47
2 files changed
packages/vision/src/index.js
@@ -1284,7 +1284,7 @@ Vision.findImages_ = function(images, callback) {
1284
if (Buffer.isBuffer(image)) {
1285
process.nextTick(function() {
1286
callback(null, {
1287
- content: image.toString("base64")
+ content: image.toString('base64')
1288
});
1289
1290
return;
packages/vision/test/index.js
@@ -951,8 +951,8 @@ describe('Vision', function() {
951
952
953
it('should get content from a buffer', function(done) {
954
- var base64String = "aGVsbG8gd29ybGQ=";
955
- var buffer = new Buffer(base64String, "base64");
+ var base64String = 'aGVsbG8gd29ybGQ=';
+ var buffer = new Buffer(base64String, 'base64');
956
957
Vision.findImages_(buffer, function(err, images) {
958
assert.ifError(err);
0 commit comments