Skip to content

Commit

Permalink
Updated distributable
Browse files Browse the repository at this point in the history
  • Loading branch information
orj committed Jan 28, 2020
1 parent 753c0ad commit 456fec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3089,10 +3089,10 @@ function run() {
throw new Error('At least one of p12-filepath or p12-file-base64 must be provided');
}
if (p12FileBase64 !== '') {
const buffer = new Buffer(p12FileBase64, 'base64');
const buffer = Buffer.from(p12FileBase64, 'base64');
const tempFile = tmp.fileSync();
p12Filepath = tempFile.name;
fs.writeFileSync(p12Filepath, buffer.toString('utf-8'));
fs.writeFileSync(p12Filepath, buffer);
}
if (keychainPassword === '') {
// generate a keychain password for the temporary keychain
Expand Down

0 comments on commit 456fec4

Please sign in to comment.