Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix import path
Browse files Browse the repository at this point in the history
haitham911 committed Dec 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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

0 comments on commit b1ddf63

Please sign in to comment.