Skip to content

Commit

Permalink
chore(docs): debug
Browse files Browse the repository at this point in the history
  • Loading branch information
krisantrobus committed Dec 18, 2024
1 parent ed7ec6d commit 24f2da3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/paste-website/src/pages/sitemap.xml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export const getServerSideProps: GetServerSideProps = async ({ res }) => {
const BASE_URL = "https://paste.twilio.design";

// Get a list of all pages currently in the site, must be mdx and not tsx which they all currently are
const uncompiledPaths = await globby(["**/pages/**/*"], {
cwd: process.cwd(),
});
const uncompiledPaths = await globby(["**/pages/**/*"]);

console.log(uncompiledPaths);

Check failure on line 16 in packages/paste-website/src/pages/sitemap.xml.tsx

View workflow job for this annotation

GitHub Actions / Lint repository

Unexpected console statement

const urlPaths = uncompiledPaths.map((path) => {
// Remove `src/pages/`
Expand Down

0 comments on commit 24f2da3

Please sign in to comment.