mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-06-22 19:07:59 +02:00
Fix deprecated fs.rmdir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@ -146,7 +146,7 @@ async function cleanup(): Promise<void> {
|
||||
|
||||
if (stateHelper.credsDir.length > 0 && fs.existsSync(stateHelper.credsDir)) {
|
||||
core.info(`Cleaning up credentials`);
|
||||
fs.rmdirSync(stateHelper.credsDir, {recursive: true});
|
||||
fs.rmSync(stateHelper.credsDir, {recursive: true});
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user