From 8b5b96376c01cf386fa7f50aab6f43dad4cc18fa Mon Sep 17 00:00:00 2001 From: Gabriele Bilello Date: Thu, 1 Aug 2024 12:43:44 +0200 Subject: [PATCH] fix: update envinroment --- lib/src/commands/brick_command.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/commands/brick_command.dart b/lib/src/commands/brick_command.dart index 213da1e..a4489f3 100644 --- a/lib/src/commands/brick_command.dart +++ b/lib/src/commands/brick_command.dart @@ -299,7 +299,7 @@ class BrickCommand extends Command { Map updates, ) { for (final entry in updates.entries) { - environment.update(entry.key, (_) => entry.value); + environment[entry.key] = entry.value; } }