mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-23 14:22:52 +02:00
refactor: Remove superfluous newline
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = (isCompiled = false) => {
|
|||||||
let buildData = '';
|
let buildData = '';
|
||||||
|
|
||||||
if (git.branch() !== 'master') {
|
if (git.branch() !== 'master') {
|
||||||
buildData += '\n';
|
buildData += '';
|
||||||
|
|
||||||
if (isCompiled) {
|
if (isCompiled) {
|
||||||
buildData += `
|
buildData += `
|
||||||
@@ -22,5 +22,5 @@ module.exports = (isCompiled = false) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return buildData.replace(/\n/, '').replace(/^ +/gm, ' ');
|
return buildData.replace(/^ +/gm, ' ');
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user