From 78c08d76f2260d4dc82f7cac173f84babbd86020 Mon Sep 17 00:00:00 2001 From: Afonso Jorge Ramos Date: Tue, 3 Oct 2023 10:04:13 +0100 Subject: [PATCH] fix: remove `outputFileSync` usage (#645) --- first-run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-run.js b/first-run.js index 948c08a76..a14a8e8be 100644 --- a/first-run.js +++ b/first-run.js @@ -42,7 +42,7 @@ function isFirstRun() { return false; } - fs.outputFileSync(configPath, ''); + fs.writeFileSync(configPath, ''); } catch (error) { console.warn(`First run: Unable to write firstRun file`, error); }