Skip to content

Commit 8635e19

Browse files
Apply suggested fix to marketing/scripts/import-linkedin-post.mjs from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent a941a93 commit 8635e19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

marketing/scripts/import-linkedin-post.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function validateArgs(args) {
8888
}
8989

9090
if (!/^https:\/\/(www\.)?linkedin\.com\//.test(args.url)) {
91-
throw new Error("--url must be a LinkedIn URL beginning with https://www.linkedin.com/");
91+
throw new Error("--url must be a LinkedIn URL beginning with https://www.linkedin.com/ or https://linkedin.com/");
9292
}
9393

9494
if (!/^\d{4}-\d{2}-\d{2}$/.test(args.date)) {

0 commit comments

Comments
 (0)