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

View File

@@ -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,
}) })