Fix dagger mod get to stop requiring environment

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau 2021-10-29 18:52:32 +02:00
parent a3b6940d0b
commit 927762481a
No known key found for this signature in database
GPG Key ID: 3C9847D981AAC1BF

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