From 319d199c0d03ecca552450ad9ed3af93db7e6186 Mon Sep 17 00:00:00 2001 From: Raul Catalinas <105791463+RaulCatalinas@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:48:58 +0100 Subject: [PATCH] refactor: remove unnecessary error message - Deleted an obsolete error message that's no longer required. --- internal/enums/errors.go | 1 - internal/error_messages/process.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/internal/enums/errors.go b/internal/enums/errors.go index 3c061e5..6a24a4c 100644 --- a/internal/enums/errors.go +++ b/internal/enums/errors.go @@ -26,7 +26,6 @@ const ( JsonMarshalError ProcessError = "JsonMarshal" GetWorkingDirectoryError ProcessError = "GetWorkingDirectory" InvalidTypeForFilesToAddError ProcessError = "InvalidTypeForFilesToAdd" - CheckingFolderOrFileError ProcessError = "CheckingFolderOrFile" DependenciesError ProcessError = "Dependencies" GitHubRepoOpenError ProcessError = "GitHubRepoOpen" ) diff --git a/internal/error_messages/process.go b/internal/error_messages/process.go index 1b953b4..083a3a2 100644 --- a/internal/error_messages/process.go +++ b/internal/error_messages/process.go @@ -11,8 +11,6 @@ var PROCESS_ERROR_MESSAGES = map[enums.ProcessError]string{ enums.InvalidTypeForFilesToAddError: "Replace this with an error message that's descriptive and easily understandable by any developer.", - enums.CheckingFolderOrFileError: "Replace this with an error message that's descriptive and easily understandable by any developer.", - enums.DependenciesError: generateErrorMessage("installing dependencies"), enums.GitHubRepoOpenError: generateErrorMessage("opening the GitHub repository in a new browser tab"),