Skip to content

Commit eff6d69

Browse files
committed
lint
1 parent c0a08d3 commit eff6d69

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

discovery/v1.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ DiscoveryV1.prototype.addDocument = function(params, callback) {
314314
if (formDataParams.file) {
315315
if (
316316
typeof formDataParams.file.filename !== 'string' &&
317-
!(formDataParams.file.options && typeof formDataParams.file.options.filename !== 'string') &&
318-
!(formDataParams.file.path && typeof formDataParams.file.path !== 'string') &&
319-
!(formDataParams.file.name && typeof formDataParams.file.name !== 'string')
317+
!(formDataParams.file.options && typeof formDataParams.file.options.filename !== 'string') &&
318+
!(formDataParams.file.path && typeof formDataParams.file.path !== 'string') &&
319+
!(formDataParams.file.name && typeof formDataParams.file.name !== 'string')
320320
) {
321321
const filedat = formDataParams.file;
322322
// the filename used below is because the name must exist
@@ -361,9 +361,9 @@ DiscoveryV1.prototype.updateDocument = function(params, callback) {
361361
if (formDataParams.file) {
362362
if (
363363
typeof formDataParams.file.filename !== 'string' &&
364-
!(formDataParams.file.options && typeof formDataParams.file.options.filename !== 'string') &&
365-
!(formDataParams.file.path && typeof formDataParams.file.path !== 'string') &&
366-
!(formDataParams.file.name && typeof formDataParams.file.name !== 'string')
364+
!(formDataParams.file.options && typeof formDataParams.file.options.filename !== 'string') &&
365+
!(formDataParams.file.path && typeof formDataParams.file.path !== 'string') &&
366+
!(formDataParams.file.name && typeof formDataParams.file.name !== 'string')
367367
) {
368368
const filedat = formDataParams.file;
369369
// the filename used below is because the name must exist

0 commit comments

Comments
 (0)