mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Remove unused variable (#460)
* unused variable
* double negative var
* Revert "double negative var"
This reverts commit 13cd17e381.
This commit is contained in:
@@ -318,7 +318,6 @@ export async function runVersion({
|
|||||||
}: VersionOptions): Promise<RunVersionResult> {
|
}: VersionOptions): Promise<RunVersionResult> {
|
||||||
const octokit = setupOctokit(githubToken);
|
const octokit = setupOctokit(githubToken);
|
||||||
|
|
||||||
let repo = `${github.context.repo.owner}/${github.context.repo.repo}`;
|
|
||||||
branch = branch ?? github.context.ref.replace("refs/heads/", "");
|
branch = branch ?? github.context.ref.replace("refs/heads/", "");
|
||||||
let versionBranch = `changeset-release/${branch}`;
|
let versionBranch = `changeset-release/${branch}`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user