mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-02-23 12:20:10 +08:00
Fix cleanup invocation.
This commit is contained in:
parent
9d4a7232c4
commit
300d65ee39
@ -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')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user