From 94a86974f91b64127fde28feae6c813005ecaccd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?=
 <jeremy.dufraisse-info@orange.fr>
Date: Wed, 7 Aug 2024 09:40:03 +0200
Subject: [PATCH] fix(ftp deploy): remove files from server before upload

---
 deploy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy.js b/deploy.js
index 974ac5f..72fb523 100644
--- a/deploy.js
+++ b/deploy.js
@@ -13,7 +13,7 @@ var config = {
     // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
     exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
     // delete ALL existing files at destination before uploading, if true
-    deleteRemote: false,
+    deleteRemote: true,
     // Passive mode is forced (EPSV command is not sent)
     forcePasv: true
 };