[conductor] RunContext to CleanContext (#94126)
This commit is contained in:
parent
8733218305
commit
6b93dc5cca
@ -70,18 +70,18 @@ class CleanCommand extends Command<void> {
|
||||
}
|
||||
stdio.printStatus('Deleting persistent state file ${stateFile.path}...');
|
||||
|
||||
final RunContext context = RunContext(
|
||||
final CleanContext cleanContext = CleanContext(
|
||||
stateFile: stateFile,
|
||||
);
|
||||
return context.run();
|
||||
return cleanContext.run();
|
||||
}
|
||||
}
|
||||
|
||||
/// Context for cleaning up persistent state file.
|
||||
///
|
||||
/// This is a frontend-agnostic implementation.
|
||||
class RunContext {
|
||||
RunContext({
|
||||
class CleanContext {
|
||||
CleanContext({
|
||||
required this.stateFile,
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user