Unverified Commit 6b93dc5c authored by Alex's avatar Alex Committed by GitHub

[conductor] RunContext to CleanContext (#94126)

parent 87332183
...@@ -70,18 +70,18 @@ class CleanCommand extends Command<void> { ...@@ -70,18 +70,18 @@ class CleanCommand extends Command<void> {
} }
stdio.printStatus('Deleting persistent state file ${stateFile.path}...'); stdio.printStatus('Deleting persistent state file ${stateFile.path}...');
final RunContext context = RunContext( final CleanContext cleanContext = CleanContext(
stateFile: stateFile, stateFile: stateFile,
); );
return context.run(); return cleanContext.run();
} }
} }
/// Context for cleaning up persistent state file. /// Context for cleaning up persistent state file.
/// ///
/// This is a frontend-agnostic implementation. /// This is a frontend-agnostic implementation.
class RunContext { class CleanContext {
RunContext({ CleanContext({
required this.stateFile, required this.stateFile,
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment