From be57ce57d94abaa90e4e10f003aa982560d4a2d9 Mon Sep 17 00:00:00 2001 From: Mysteriedev Date: Sun, 6 Mar 2022 16:02:05 +0100 Subject: [PATCH] add comment --- cypress/plugins/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 10d3bef..7438135 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -23,6 +23,7 @@ module.exports = (on, config) => { resetSetup() { const users = "settings/users"; const settings = "settings/settings.yaml"; + // of course files need to exist in order to perform a delete if (fs.existsSync(settings) && fs.existsSync(users)) { fs.rmSync(users, { recursive: true, force: true }); fs.rmSync(settings);