From 9f85b8f4122b88108a04ae14dbc8be027e8ad139 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Tue, 13 Feb 2024 14:57:34 -0800 Subject: [PATCH] Feed the linter. --- rename-sitemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rename-sitemap.js b/rename-sitemap.js index 6527468..3fb374a 100644 --- a/rename-sitemap.js +++ b/rename-sitemap.js @@ -4,7 +4,7 @@ const path = require('path'); const oldPath = path.join(__dirname, '.vitepress', 'dist', 'sitemap.xml'); const newPath = path.join(__dirname, '.vitepress', 'dist', 'docs-sitemap.xml'); -fs.rename(oldPath, newPath, (err) => { +fs.rename(oldPath, newPath, err => { if (err) { console.error('Error renaming sitemap.xml:', err); process.exit(1);