From 8811dec8f1cab0cac4977ce889889a863cb7ccd2 Mon Sep 17 00:00:00 2001 From: haitham911 Date: Sun, 17 Nov 2024 14:06:51 +0200 Subject: [PATCH] fix: remove unnecessary blank lines in ProcessYAMLConfigFile and GetFileContent functions --- internal/exec/stack_processor_utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/exec/stack_processor_utils.go b/internal/exec/stack_processor_utils.go index 3fb35695a..b616e2348 100644 --- a/internal/exec/stack_processor_utils.go +++ b/internal/exec/stack_processor_utils.go @@ -201,7 +201,6 @@ func ProcessYAMLConfigFile( } if stackYamlConfig == "" { return map[string]any{}, map[string]map[string]any{}, map[string]any{}, nil - } stackManifestTemplatesProcessed := stackYamlConfig @@ -1879,7 +1878,6 @@ func GetFileContent(filePath string) (string, error) { existingContent, found := getFileContentSyncMap.Load(filePath) if found && existingContent != nil { return fmt.Sprintf("%s", existingContent), nil - } content, err := os.ReadFile(filePath)