File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -235,12 +235,14 @@ Goal::Co DerivationGoal::haveDerivation()
235235 }
236236 });
237237
238- /* Check what outputs paths are not already valid. */
239- auto [allValid, validOutputs] = checkPathValidity ();
238+ {
239+ /* Check what outputs paths are not already valid. */
240+ auto [allValid, validOutputs] = checkPathValidity ();
240241
241- /* If they are all valid, then we're done. */
242- if (allValid && buildMode == bmNormal) {
243- co_return done (BuildResult::AlreadyValid, std::move (validOutputs));
242+ /* If they are all valid, then we're done. */
243+ if (allValid && buildMode == bmNormal) {
244+ co_return done (BuildResult::AlreadyValid, std::move (validOutputs));
245+ }
244246 }
245247
246248 /* We are first going to try to create the invalid output paths
You can’t perform that action at this time.
0 commit comments