Skip to content

Commit

Permalink
Fix error in fs-extra patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisameling committed Dec 8, 2024
1 parent 4ec75e7 commit aecca11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/fs-extra+11.2.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ index a55c2d9..95760e0 100644
+ try {
+ console.log(`Going to create empty file ${file}`)
+ await fs.writeFile(file, '')
+ } catch (e) {
+ } catch (err) {
+ if (process.platform === 'linux' && process.arch === 'arm64') {
+ console.log(`Error while creating empty file, but ignoring since this is Linux arm64 and the file has most likely been created just fine: ${err}`)
+ } else {
+ throw e
+ throw err
+ }
+ }
+}
Expand Down

0 comments on commit aecca11

Please sign in to comment.