1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(libstack): compose project working directory [BE-11751] (#600)

This commit is contained in:
Devon Steenberg 2025-04-04 09:07:35 +13:00 committed by GitHub
parent f6f07f4690
commit 1b8fbbe7d7
2 changed files with 6 additions and 6 deletions

View file

@ -312,10 +312,6 @@ func createProject(ctx context.Context, configFilepaths []string, options libsta
workingDir = filepath.Dir(configFilepaths[0])
}
if options.WorkingDir != "" {
workingDir = options.WorkingDir
}
if options.ProjectDir != "" {
// When relative paths are used in the compose file, the project directory is used as the base path
workingDir = options.ProjectDir