Skip to content

Commit

Permalink
Merge pull request #2709 from Andrioden/local-files-dep
Browse files Browse the repository at this point in the history
fix: correctly use local git repo dependencies cache
  • Loading branch information
lizardruss committed Sep 5, 2023
2 parents 41c8128 + 446cf89 commit fe6d264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/devspace/dependency/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func DownloadDependency(ctx context.Context, workingDirectory string, source *la
_, statErr := os.Stat(localPath)

// Update dependency
if !source.DisablePull || statErr != nil {
if !source.DisablePull && statErr != nil {
repo, err := git.NewGitCLIRepository(ctx, localPath)
if err != nil {
if statErr == nil {
Expand Down

0 comments on commit fe6d264

Please sign in to comment.