diff --git a/scripts/build.js b/scripts/build.js
index 071e99c01..c2091048e 100644
--- a/scripts/build.js
+++ b/scripts/build.js
@@ -63,7 +63,7 @@ if (
data.slice(data.lastIndexOf('```js'), data.lastIndexOf('```')) +
data.slice(data.lastIndexOf('```'))
);
- output += `${data}\n
${misc.link('⬆ Back to top', misc.anchor('Table of Contents'))}\n\n`
+ output += `${data}\n
${misc.link('⬆ Back to top', misc.anchor('Table of Contents'))}\n\n`;
}
// Write to the README file of the archive
diff --git a/scripts/rollup.js b/scripts/rollup.js
index 4fe1951a6..d684f7d68 100644
--- a/scripts/rollup.js
+++ b/scripts/rollup.js
@@ -16,7 +16,7 @@ if (!fs.existsSync(DIST)) fs.mkdirSync(DIST);
const es5 = babel({ presets: [['env', { modules: false }]] });
const min = minify({ comments: false });
// Create the bundles
-(async () => {
+(async() => {
const bundle = await rollup({ input: INPUT_FILE });
const bundleES5 = await rollup({ input: INPUT_FILE, plugins: [es5] });
const bundleMin = await rollup({ input: INPUT_FILE, plugins: [min] });
diff --git a/scripts/tdd.js b/scripts/tdd.js
index fa756134c..4be6da936 100644
--- a/scripts/tdd.js
+++ b/scripts/tdd.js
@@ -94,7 +94,7 @@ snippetFiles
});
try {
fs.writeFileSync(path.join(TEST_PATH, 'testlog'), `Test log for: ${new Date().toString()}\n`);
- childProcess.execSync(`npm test`);
+ childProcess.execSync('npm test');
} catch (e) {
fs.appendFileSync(path.join(TEST_PATH, 'testlog'));
}
diff --git a/scripts/web.js b/scripts/web.js
index 78d143569..a13e93e54 100644
--- a/scripts/web.js
+++ b/scripts/web.js
@@ -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));