Skip to content
Snippets Groups Projects
Commit 7669dc36 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore: fix prettier formatting

parent 9fb25cb4
Branches
Tags elasticsearch-0.0.1
No related merge requests found
......@@ -21,7 +21,10 @@ function decryptConfig(config, privateKey) {
logger.info(`Decrypted ${eKey}`);
if (eKey === 'npmToken') {
const token = decryptedStr.replace(/\n$/, '');
logger.info({ token: maskToken(token) }, 'Migrating npmToken to npmrc');
logger.info(
{ token: maskToken(token) },
'Migrating npmToken to npmrc'
);
decryptedConfig.npmrc = `//registry.npmjs.org/:_authToken=${token}\n`;
} else {
decryptedConfig[eKey] = decryptedStr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment