Skip to content

Commit

Permalink
fix: stupid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud committed Jun 28, 2023
1 parent 732857e commit 82a2ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/octocat/src/lib/WebsocketRequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class WebsocketRequestHandler {
const readmeBlob = await this.updateReadme(repoContext, version, false);
const pkgBlob = await this.updatePackageJson(repoContext, version, installation.octokit);
const blobs = [...(readmeBlob ?? []), pkgBlob].filter(Boolean) as TreeObject[];
if (!blobs.length) await this.createCommit(blobs, repoContext, "heads/main", `chore(Release): v${version} 🎉`, installation.octokit);
if (blobs.length) await this.createCommit(blobs, repoContext, "heads/main", `chore(Release): v${version} 🎉`, installation.octokit);

await installation.octokit.request("POST /repos/{owner}/{repo}/releases", {
...repoContext,
Expand Down

0 comments on commit 82a2ed9

Please sign in to comment.