Skip to content

Commit

Permalink
fix: update fs-extra patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Dec 9, 2024
1 parent 67b43b1 commit 1d3440e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snap/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 1d3440e

Please sign in to comment.