[skip ci] delete existing package

This commit is contained in:
Brahim Hadriche committed 2025-06-16 13:40:58 -04:00
1 parent 04ed2f82c0
commit 6095901939
2 files changed
+9

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Nothing worth mentioning yet.
## [0.40.3] - 2025-06-16
### Fixed
+5
View File
@@ -30,6 +30,11 @@ const { execSync } = require('child_process');
// Create a temporary directory
const tempDir = fs.mkdtempSync('squash-fs-');
// delete existing out file
if (fs.existsSync(outFile)) {
fs.unlinkSync(outFile);
}
// Unzip the file
execSync(`unzip ${inFile} -d ${tempDir}`);