Skip to content

Commit

Permalink
fix import path
Browse files Browse the repository at this point in the history
  • Loading branch information
haitham911 committed Dec 28, 2024
1 parent 84290d8 commit b1ddf63
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 @@ -468,8 +468,7 @@ func ProcessYAMLConfigFile(
if err != nil {
return nil, nil, nil, nil, nil, err
}

importRelativePathWithExt := strings.Replace(importFile, basePath+"/", "", 1)
importRelativePathWithExt := strings.Replace(filepath.ToSlash(importFile), filepath.ToSlash(basePath)+"/", "", 1)
ext2 := filepath.Ext(importRelativePathWithExt)
if ext2 == "" {
ext2 = u.DefaultStackConfigFileExtension
Expand Down

0 comments on commit b1ddf63

Please sign in to comment.