Skip to content

Commit

Permalink
fix: use latest package version
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Jan 13, 2025
1 parent 59ec013 commit 96bc1b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/broken-pageref.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// deno run --allow-read .github/scripts/broken-pageref.js

import { resolve, dirname, fromFileUrl } from "https://deno.land/std@0.123.0/path/mod.ts";
import { walk } from "https://deno.land/std@0.123.0/fs/mod.ts";
import { resolve, dirname, fromFileUrl } from "https://deno.land/std/path/mod.ts";
import { walk } from "https://deno.land/std/fs/mod.ts";

const rootDir = resolve(Deno.cwd());

Expand Down Expand Up @@ -37,7 +37,7 @@ async function findBrokenLinks() {
const resolvedPath = resolve(dirname(entry.path), relativePath);

try {
await Deno.stat(resolvedPath); // Check if the file exists
await Deno.stat(resolvedPath);
} catch {
brokenLinks.push({ file: entry.path, relativePath, resolvedPath });
}
Expand Down

0 comments on commit 96bc1b5

Please sign in to comment.