Skip to content

Commit

Permalink
style: removed line breaks to align with xo rule (#1689)
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Nov 16, 2020
1 parent ca90b34 commit c8d38b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/hide-sensitive.js
Expand Up @@ -12,9 +12,7 @@ module.exports = (env) => {
});

const regexp = new RegExp(
toReplace
.map((envVar) => `${escapeRegExp(env[envVar])}|${encodeURI(escapeRegExp(env[envVar]))}`)
.join('|'),
toReplace.map((envVar) => `${escapeRegExp(env[envVar])}|${encodeURI(escapeRegExp(env[envVar]))}`).join('|'),
'g'
);
return (output) =>
Expand Down

0 comments on commit c8d38b6

Please sign in to comment.