Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sillsdev/web-xforge
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d2a04ef4a3cd6eb1c74b87185c86c474859f5097
Choose a base ref
..
head repository: sillsdev/web-xforge
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 17912781ab146f43f89c39c3053538d007a51408
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 −4 scripts/check_external_urls.mts
8 changes: 4 additions & 4 deletions scripts/check_external_urls.mts
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@
// Suggested usage:
//
// Check against production:
// ./scripts/verify-external-urls.ts
// ./check_external_urls.mts
//
// Check against the Netlify preview build:
// ./scripts/verify-external-urls.ts https://github-action-preview--scriptureforgehelp.netlify.app
// ./check_external_urls.mts https://github-action-preview--scriptureforgehelp.netlify.app
//
// Check against a local copy of the help site:
// ./scripts/verify-external-urls.ts http://localhost:8000
// ./check_external_urls.mts http://localhost:8000

import { ExternalUrls } from "../src/SIL.XForge.Scripture/ClientApp/src/xforge-common/external-url-class.ts";
import locales from "../src/SIL.XForge.Scripture/locales.json" with { type: "json" };
@@ -22,7 +22,7 @@ let helpUrl = "https://help.scriptureforge.org";
if (Deno.args.length == 1) {
helpUrl = Deno.args[0];
} else if (Deno.args.length > 1) {
console.error("Usage: verify-external-urls.ts [help URL]");
console.error("Usage: check_external_urls.mts [help URL]");
Deno.exit(1);
}