Skip to content

Commit 9b08e5a

Browse files
monyarmPetarKirov
authored andcommitted
fix(ci_matrix): Initialize params directly in ci_matrix function
1 parent 63aa2bc commit 9b08e5a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/mcl/src/src/mcl/commands/ci_matrix.d

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,12 @@ version (unittest)
141141
];
142142
}
143143

144-
immutable Params params;
144+
Params params;
145145

146-
version (unittest) {} else
147-
shared static this()
148-
{
149-
params = parseEnv!Params;
150-
}
151146

152147
export void ci_matrix(string[] args)
153148
{
149+
params = parseEnv!Params;
154150
createResultDirs();
155151
nixEvalForAllSystems().array.printTableForCacheStatus();
156152
}

0 commit comments

Comments
 (0)