[conductor] RunContext to CleanContext (#94126)

This commit is contained in:
Alex 2021-11-30 20:10:34 -05:00 committed by GitHub
parent 8733218305
commit 6b93dc5cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
});