Merge pull request #1149 from TomChv/fix/mod-get-without-project
Dagger mod get now work without environment
This commit is contained in:
commit
0765dc2a97
@ -26,8 +26,7 @@ var getCmd = &cobra.Command{
|
|||||||
ctx := lg.WithContext(cmd.Context())
|
ctx := lg.WithContext(cmd.Context())
|
||||||
|
|
||||||
project := common.CurrentProject(ctx)
|
project := common.CurrentProject(ctx)
|
||||||
st := common.CurrentEnvironmentState(ctx, project)
|
doneCh := common.TrackProjectCommand(ctx, cmd, project, nil, &telemetry.Property{
|
||||||
doneCh := common.TrackProjectCommand(ctx, cmd, project, st, &telemetry.Property{
|
|
||||||
Name: "packages",
|
Name: "packages",
|
||||||
Value: args,
|
Value: args,
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user