mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-13 04:01:14 +00:00
Fix condition
This commit is contained in:
parent
cdda075109
commit
c556014562
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ async function run(): Promise<undefined> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hideOldComment) {
|
if (hideOldComment) {
|
||||||
if (!previous) {
|
if (previous) {
|
||||||
await minimizeComment(octokit, previous.id, hideClassify)
|
await minimizeComment(octokit, previous.id, hideClassify)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue