Skip to content

Commit

Permalink
fix(cli): update to always report at least an empty array of devconta…
Browse files Browse the repository at this point in the history
…iner paths
  • Loading branch information
pascalbreuninger committed Nov 20, 2023
1 parent 4cee983 commit 4606538
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 4606538

Please sign in to comment.