Fix cleanup invocation.

This commit is contained in:
Fabio Niephaus
2025-02-10 09:57:30 +01:00
committed by Fabio Niephaus
parent 9d4a7232c4
commit 300d65ee39

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()