Skip to content

Commit 541e794

Browse files
fix bug for IEnvironment param resolver
1 parent 13516fc commit 541e794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommandDotNet/AppConfigBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AppConfigBuilder
3333
{
3434
[typeof(CommandContext)] = ctx => ctx,
3535
[typeof(IConsole)] = ctx => ctx.Console,
36-
[typeof(IEnvironment)] = ctx => ctx.Console,
36+
[typeof(IEnvironment)] = ctx => ctx.Environment,
3737
[typeof(CancellationToken)] = ctx => ctx.CancellationToken
3838
};
3939

0 commit comments

Comments
 (0)