Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Feed the linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Feb 13, 2024
1 parent d8d34dc commit 9f85b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rename-sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9f85b8f

Please sign in to comment.