diff --git a/src/add-to-project.ts b/src/add-to-project.ts index 4f990f33..4564373c 100644 --- a/src/add-to-project.ts +++ b/src/add-to-project.ts @@ -1,8 +1,6 @@ import * as core from '@actions/core' import * as github from '@actions/github' -// TODO: Ensure this (and the Octokit client) works for non-jackfan.us.kg URLs, as well. -// https://github.com/orgs|users//projects/ const urlParse = /\/(?orgs|users)\/(?[^/]+)\/projects\/(?\d+)/ @@ -80,7 +78,7 @@ export async function addToProject(): Promise { if (!urlMatch) { throw new Error( - `Invalid project URL: ${projectUrl}. Project URL should match the format ///projects/`, + `Invalid project URL: ${projectUrl}. Project URL should match the format ///projects/`, ) }