Skip to content

Commit

Permalink
Merge pull request #813 from pascalbreuninger/fix/ENG-2224-devcontain…
Browse files Browse the repository at this point in the history
…er-path-null

fix(cli): update  to always report at least an empty array of devcontainer paths
  • Loading branch information
89luca89 authored Nov 20, 2023
2 parents 6c384e5 + 4606538 commit d61d366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/helper/get_workspace_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (cmd *GetWorkspaceConfigCommand) Run(ctx context.Context, args []string) er
}

func findDevcontainerFiles(ctx context.Context, rawSource, tmpDirPath string, maxDepth int, log log.Logger) (*GetWorkspaceConfigCommandResult, error) {
result := &GetWorkspaceConfigCommandResult{}
result := &GetWorkspaceConfigCommandResult{ConfigPaths: []string{}}

// local path
isLocalPath, _ := file.IsLocalDir(rawSource)
Expand Down

0 comments on commit d61d366

Please sign in to comment.