Skip to content

Commit 74fcb5e

Browse files
committed
"He says to follow the crossed out instructions." "Then why were they crossed out?"
1 parent c90d6c0 commit 74fcb5e

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

fontspector-cli/src/main.rs

-35
Original file line numberDiff line numberDiff line change
@@ -332,41 +332,6 @@ fn load_configuration(args: &Args) -> Map<String, serde_json::Value> {
332332
.unwrap_or_default()
333333
}
334334

335-
// fn apply_fixes(
336-
// testable: &mut TestableType,
337-
// check: &&Check,
338-
// mut result: CheckResult,
339-
// args: &Args,
340-
// ) -> CheckResult {
341-
// if let TestableType::Single(testable) = testable {
342-
// if args.hotfix {
343-
// if let Some(fix) = check.hotfix {
344-
// result.hotfix_result = match fix(testable) {
345-
// Ok(_) => Some(FixResult::Fixed),
346-
// Err(e) => Some(FixResult::FixError(e)),
347-
// }
348-
// } else {
349-
// result.hotfix_result = Some(FixResult::Unfixable);
350-
// }
351-
// } else if check.hotfix.is_some() {
352-
// result.hotfix_result = Some(FixResult::Available);
353-
// }
354-
// if args.fix_sources {
355-
// if let Some(fix) = check.fix_source {
356-
// result.sourcefix_result = match fix(testable) {
357-
// Ok(_) => Some(FixResult::Fixed),
358-
// Err(e) => Some(FixResult::FixError(e)),
359-
// }
360-
// } else {
361-
// result.sourcefix_result = Some(FixResult::Unfixable);
362-
// }
363-
// } else if check.fix_source.is_some() {
364-
// result.sourcefix_result = Some(FixResult::Available);
365-
// }
366-
// }
367-
// result
368-
// }
369-
370335
fn try_fixing_stuff(results: &mut RunResults, args: &Args, registry: &Registry) {
371336
let failed_checks = results
372337
.iter_mut()

0 commit comments

Comments
 (0)