From d30d20cc01f36a488929165f4f5d8929a086ec0e Mon Sep 17 00:00:00 2001 From: softprops Date: Mon, 9 Sep 2019 18:16:35 +0900 Subject: [PATCH] remove outdated comment --- lib/main.js | 1 - src/main.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index 98b40f8..901a6ee 100644 --- a/lib/main.js +++ b/lib/main.js @@ -20,7 +20,6 @@ function run() { if (!util_1.isTag(config.github_ref)) { throw new Error(`⚠️ GitHub Releases requires a tag`); } - // todo: validate github_ref is a tag const gh = new github_1.GitHub(config.github_token); let rel = yield github_2.release(config, gh); if (config.input_files) { diff --git a/src/main.ts b/src/main.ts index db4c028..efc4cbd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,7 +9,6 @@ async function run() { if (!isTag(config.github_ref)) { throw new Error(`⚠️ GitHub Releases requires a tag`); } - // todo: validate github_ref is a tag const gh = new GitHub(config.github_token); let rel = await release(config, gh); if (config.input_files) {