From aecca113a7384ffd610c353e4365e95233410da1 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Sun, 8 Dec 2024 14:20:50 +0100 Subject: [PATCH] Fix error in fs-extra patch --- patches/fs-extra+11.2.0.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/fs-extra+11.2.0.patch b/patches/fs-extra+11.2.0.patch index 10c6c73..de37a75 100644 --- a/patches/fs-extra+11.2.0.patch +++ b/patches/fs-extra+11.2.0.patch @@ -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 + } + } +}