Skip to content

Commit

Permalink
Fixes 'dencrypt' typos. (#1006)
Browse files Browse the repository at this point in the history
Changed 'dencrypt' to 'decrypt'.
  • Loading branch information
WalterHub authored and fhinkel committed Dec 7, 2018
1 parent 7d5b05b commit a0a4472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kms/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ function decrypt(
},
};

// Dencrypts the file using the specified crypto key
// Decrypts the file using the specified crypto key
cloudkms.projects.locations.keyRings.cryptoKeys.decrypt(
request,
(err, response) => {
Expand All @@ -648,7 +648,7 @@ function decrypt(
return;
}

// Writes the dencrypted file to disk
// Writes the decrypted file to disk
const result = response.data;
fs.writeFile(
plaintextFileName,
Expand Down

0 comments on commit a0a4472

Please sign in to comment.