Skip to content

Commit

Permalink
remote stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Listener430 committed Dec 27, 2024
1 parent 2494df6 commit 5c92533
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/exec/stack_processor_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1933,8 +1933,7 @@ func GetFileContent(filePath string) (string, error) {
//Check if its Github remote URL to single file
parsedURL, err := url.Parse(filePath) // Parse the URL
if err != nil {
u.LogWarning(schema.AtmosConfiguration{}, fmt.Sprintf("Failed to parse the URL: %s", filePath))
return "", nil
u.LogInfo(schema.AtmosConfiguration{}, fmt.Sprintf("Filepath is local: %s", filePath))
}
if parsedURL.Host == "github.com" && parsedURL.Scheme == "https" {
u.LogDebug(schema.AtmosConfiguration{}, fmt.Sprintf("Fetching GitHub source: %s", filePath))
Expand Down

0 comments on commit 5c92533

Please sign in to comment.