1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-22 22:02:48 +02:00

refactor: Remove superfluous newline

This commit is contained in:
Trezy
2018-12-17 14:30:41 -06:00
parent 5d90aff2e5
commit 5f0ec9128f

View File

@@ -4,7 +4,7 @@ module.exports = (isCompiled = false) => {
let buildData = '';
if (git.branch() !== 'master') {
buildData += '\n';
buildData += '';
if (isCompiled) {
buildData += `
@@ -22,5 +22,5 @@ module.exports = (isCompiled = false) => {
}
}
return buildData.replace(/\n/, '').replace(/^ +/gm, ' ');
return buildData.replace(/^ +/gm, ' ');
};