Codacy update for scripts

This commit is contained in:
Angelos Chalaris
2018-09-15 14:27:30 +03:00
parent d47508a3a4
commit c48b2487c1
4 changed files with 4 additions and 10 deletions

View File

@ -87,12 +87,6 @@ try {
startPart = fs.readFileSync(path.join(staticPartsPath, 'page-start.html'), 'utf8');
endPart = fs.readFileSync(path.join(staticPartsPath, 'page-end.html'), 'utf8');
beginnerStartPart = fs.readFileSync(
path.join(staticPartsPath, 'beginner-page-start.html'),
'utf8'
);
beginnerEndPart = fs.readFileSync(path.join(staticPartsPath, 'beginner-page-end.html'), 'utf8');
archivedStartPart = fs.readFileSync(
path.join(staticPartsPath, 'archived-page-start.html'),
'utf8'
@ -395,7 +389,7 @@ try {
process.exit(1);
}
// Copy static files
// Copy static files
staticFiles.forEach(f => {
try {
fs.copyFileSync(path.join(staticPartsPath, f), path.join(docsPath, f));