Merge pull request #1149 from TomChv/fix/mod-get-without-project

Dagger mod get now work without environment
This commit is contained in:
Andrea Luzzardi 2021-11-19 11:30:43 -08:00 committed by GitHub
commit 0765dc2a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,7 @@ var getCmd = &cobra.Command{
ctx := lg.WithContext(cmd.Context())
project := common.CurrentProject(ctx)
st := common.CurrentEnvironmentState(ctx, project)
doneCh := common.TrackProjectCommand(ctx, cmd, project, st, &telemetry.Property{
doneCh := common.TrackProjectCommand(ctx, cmd, project, nil, &telemetry.Property{
Name: "packages",
Value: args,
})