style: removed line breaks to align with xo rule (#1689)

This commit is contained in:
Matt Travi 2020-11-16 13:32:04 -06:00 committed by GitHub
parent ca90b34c4a
commit c8d38b6258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) =>