Skip to content

Commit

Permalink
chore: turn off printSurvey messages
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Oct 16, 2023
1 parent 0350097 commit f3d72c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions packages/cli/lib/behavior/miner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ Future<JobResult> doMineJob(
final response =
await surveyAndLog(api, db, caches.ships, ship, getNow: getNow);

for (final survey in response.surveys) {
printSurvey(survey, caches.marketPrices, marketSymbol);
}
// for (final survey in response.surveys) {
// printSurvey(survey, caches.marketPrices, marketSymbol);
// }

verifyCooldown(
ship,
Expand All @@ -472,9 +472,9 @@ Future<JobResult> doMineJob(
return JobResult.wait(response.cooldown.expiration);
}

if (maybeSurvey != null) {
printSurvey(maybeSurvey, caches.marketPrices, marketSymbol);
}
// if (maybeSurvey != null) {
// printSurvey(maybeSurvey, caches.marketPrices, marketSymbol);
// }

// Regardless of whether we have a survey, we should try to mine.
final result = await extractAndLog(
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/lib/behavior/surveyor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ Future<DateTime?> advanceSurveyor(
response.cooldown,
);

for (final survey in response.surveys) {
printSurvey(survey, caches.marketPrices, mineJob.market);
}
// for (final survey in response.surveys) {
// printSurvey(survey, caches.marketPrices, mineJob.market);
// }

// Each survey is the whole behavior.
state.isComplete = true;
Expand Down

0 comments on commit f3d72c0

Please sign in to comment.