remove deprecated node api

This commit is contained in:
Mateusz Budzisz 2025-05-12 21:09:28 +02:00
parent e5e77d28fc
commit 42292b670e
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -168,7 +168,7 @@ function run(platform) {
core.startGroup(`📦 Extracting Godot to ${installationDir}...`); core.startGroup(`📦 Extracting Godot to ${installationDir}...`);
// If the godot installation folder already exists, remove it before extracting the ZIP file. This will "uninstall" other installations (e.g. on version changes). // If the godot installation folder already exists, remove it before extracting the ZIP file. This will "uninstall" other installations (e.g. on version changes).
if (fs.existsSync(installationDir)) if (fs.existsSync(installationDir))
fs.rmdirSync(installationDir, { recursive: true }); fs.rmSync(installationDir, { recursive: true, force: true });
const godotExtractedPath = yield toolsCache.extractZip(godotDownloadedPath, installationDir); const godotExtractedPath = yield toolsCache.extractZip(godotDownloadedPath, installationDir);
core.info(`✅ Godot extracted to ${godotExtractedPath}`); core.info(`✅ Godot extracted to ${godotExtractedPath}`);
core.endGroup(); core.endGroup();

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -155,7 +155,7 @@ async function run(platform: Platform): Promise<void> {
// If the godot installation folder already exists, remove it before extracting the ZIP file. This will "uninstall" other installations (e.g. on version changes). // If the godot installation folder already exists, remove it before extracting the ZIP file. This will "uninstall" other installations (e.g. on version changes).
if (fs.existsSync(installationDir)) if (fs.existsSync(installationDir))
fs.rmdirSync(installationDir, {recursive: true}) fs.rmSync(installationDir, {recursive: true, force: true})
const godotExtractedPath = await toolsCache.extractZip( const godotExtractedPath = await toolsCache.extractZip(
godotDownloadedPath, godotDownloadedPath,