Skip to content

Commit b61cd47

Browse files
author
calibr
committed
fix linting issues
1 parent c8ba7c1 commit b61cd47

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/vision/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ Vision.findImages_ = function(images, callback) {
12841284
if (Buffer.isBuffer(image)) {
12851285
process.nextTick(function() {
12861286
callback(null, {
1287-
content: image.toString("base64")
1287+
content: image.toString('base64')
12881288
});
12891289
});
12901290
return;

packages/vision/test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,8 +951,8 @@ describe('Vision', function() {
951951

952952

953953
it('should get content from a buffer', function(done) {
954-
var base64String = "aGVsbG8gd29ybGQ=";
955-
var buffer = new Buffer(base64String, "base64");
954+
var base64String = 'aGVsbG8gd29ybGQ=';
955+
var buffer = new Buffer(base64String, 'base64');
956956

957957
Vision.findImages_(buffer, function(err, images) {
958958
assert.ifError(err);

0 commit comments

Comments
 (0)