Skip to content

Commit

Permalink
fix: remove unnecessary blank lines in ProcessYAMLConfigFile and GetF…
Browse files Browse the repository at this point in the history
…ileContent functions
  • Loading branch information
haitham911 committed Nov 17, 2024
1 parent 600a229 commit 8811dec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/exec/stack_processor_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ func ProcessYAMLConfigFile(
}
if stackYamlConfig == "" {
return map[string]any{}, map[string]map[string]any{}, map[string]any{}, nil

}

stackManifestTemplatesProcessed := stackYamlConfig
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8811dec

Please sign in to comment.