Update main.ts

This commit is contained in:
Jon Janego
2024-09-03 11:43:30 -05:00
committed by GitHub
parent 431ce2fe42
commit bb49ef985c
+2 -1
View File
@@ -24,6 +24,7 @@ import {getRefs} from './git-refs'
import {groupDependenciesByManifest} from './utils' import {groupDependenciesByManifest} from './utils'
import {commentPr, MAX_COMMENT_LENGTH} from './comment-pr' import {commentPr, MAX_COMMENT_LENGTH} from './comment-pr'
import {getDeniedChanges} from './deny' import {getDeniedChanges} from './deny'
import {MAX_SUMMARY_LENGTH} from './summary'
async function delay(ms: number): Promise<void> { async function delay(ms: number): Promise<void> {
return new Promise(resolve => setTimeout(resolve, ms)) return new Promise(resolve => setTimeout(resolve, ms))
@@ -200,7 +201,7 @@ async function run(): Promise<void> {
} }
} }
} finally { } finally {
await core.summary.write() await core.summary.write() // need to write the minSummary content to this
} }
} }