From fb9f789f7f145c8a9ce0a001fd9520f1ffa89f74 Mon Sep 17 00:00:00 2001 From: Afonso Jorge Ramos Date: Tue, 3 Oct 2023 02:07:21 +0100 Subject: [PATCH] fix: remove `outputFileSync` usage --- 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); }