Fix cleanup invocation.

This commit is contained in:
Fabio Niephaus 2025-02-10 09:57:30 +01:00
parent 8865fdd08f
commit f6ca3cd9c0
No known key found for this signature in database
GPG Key ID: F21CF5275F31DFD6

View File

@ -62,9 +62,4 @@ export async function run(): Promise<void> {
await ignoreErrors(saveCache())
}
if (require.main === module) {
run()
} else {
// https://nodejs.org/api/modules.html#modules_accessing_the_main_module
core.info('the script is loaded as a module, so skipping the execution')
}
run()