Skip to content

Commit 4768372

Browse files
authored
Use old method
1 parent bc9b076 commit 4768372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.Listener/Runner.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ private async Task<int> RunAsync(RunnerSettings settings, bool runOnce = false)
423423
_term.WriteLine($"Mocking update, using version {mockUpdateMessages.First().TargetVersion} instead of {runnerUpdateMessage.TargetVersion}");
424424
runnerUpdateMessage = new AgentRefreshMessage(runnerUpdateMessage.AgentId, mockUpdateMessages.First().TargetVersion, runnerUpdateMessage.Timeout);
425425
var temp = JsonUtility.ToString(mockUpdateMessages.Skip(1));
426-
File.WriteAllText(mockUpdatesPath, JsonUtility.StringSerialize(mockUpdateMessages.Skip(1)));
426+
File.WriteAllText(mockUpdatesPath, JsonUtility.ToString(mockUpdateMessages.Skip(1)));
427427
}
428428
}
429429
}

0 commit comments

Comments
 (0)