Skip to content

Commit 446cf89

Browse files
committed
fix: correctly use local git repo dependencies cache
Signed-off-by: André S. Hansen <andre.ok@online.no>
1 parent 41c8128 commit 446cf89

File tree

1 file changed

+1
-1
lines changed
  • pkg/devspace/dependency/util

1 file changed

+1
-1
lines changed

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)