Skip to content

Commit

Permalink
Fix using obsolete property
Browse files Browse the repository at this point in the history
refs DeNA#92
  • Loading branch information
nowsprinting committed Nov 4, 2024
1 parent 6c80729 commit d1182db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Runtime/Autopilot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ public async UniTask TerminateAsync(ExitCode exitCode, string message = null, st

_isTerminating = true;

if (reporting && _state.IsRunning && _settings.reporter != null)
if (reporting && _state.IsRunning && _settings.Reporter != null)
{
await _settings.reporter.PostReportAsync(message, stackTrace, exitCode, token);
await _settings.Reporter.PostReportAsync(message, stackTrace, exitCode, token);
}

if (_state.settings != null && !string.IsNullOrEmpty(_state.settings.junitReportPath))
Expand Down
4 changes: 2 additions & 2 deletions Runtime/Settings/AutopilotSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public class AutopilotSettings : ScriptableObject
/// <summary>
/// Logger used for this autopilot settings.
/// </summary>
[Obsolete("Use `loggerAssets` field or `LoggerAsset` property instead")]
[Obsolete("Use `LoggerAsset` property instead")]
public AbstractLoggerAsset loggerAsset;

/// <summary>
Expand Down Expand Up @@ -163,7 +163,7 @@ public CompositeLoggerAsset LoggerAsset
/// <summary>
/// Reporter that called when some errors occurred
/// </summary>
[Obsolete("Use `reporters` field or `Reporter` property instead")]
[Obsolete("Use `Reporter` property instead")]
public AbstractReporter reporter;

/// <summary>
Expand Down

0 comments on commit d1182db

Please sign in to comment.