Skip to content

Commit

Permalink
chore: fix the lint error (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jul 31, 2019
1 parent 017447c commit 5315bff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-compute/src/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ class VM extends common.ServiceObject {
);
const newMetadataJSON = Object.assign(metadataJSON, metadata);
for (const key in newMetadataJSON) {
/* eslint-disable no-prototype-builtins */
if (newMetadataJSON.hasOwnProperty(key)) {
const value = newMetadataJSON[key];
if (value !== null) {
Expand Down

0 comments on commit 5315bff

Please sign in to comment.