Skip to content

Commit fe6d264

Browse files
authored
Merge pull request #2709 from Andrioden/local-files-dep
fix: correctly use local git repo dependencies cache
2 parents 41c8128 + 446cf89 commit fe6d264

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/devspace/dependency/util

pkg/devspace/dependency/util/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func DownloadDependency(ctx context.Context, workingDirectory string, source *la
9999
_, statErr := os.Stat(localPath)
100100

101101
// Update dependency
102-
if !source.DisablePull || statErr != nil {
102+
if !source.DisablePull && statErr != nil {
103103
repo, err := git.NewGitCLIRepository(ctx, localPath)
104104
if err != nil {
105105
if statErr == nil {

0 commit comments

Comments
 (0)