diff --git a/src/Tgstation.Server.Host/Core/ISynchronousIOManager.cs b/src/Tgstation.Server.Host/Core/ISynchronousIOManager.cs index 0620ff67d7..6faa6249ad 100644 --- a/src/Tgstation.Server.Host/Core/ISynchronousIOManager.cs +++ b/src/Tgstation.Server.Host/Core/ISynchronousIOManager.cs @@ -28,9 +28,8 @@ namespace Tgstation.Server.Host.Core /// Read the s of a file at a given /// /// The path of the file to read - /// The for the operation /// A array representing the contents of the file at - byte[] ReadFile(string path, CancellationToken cancellationToken); + byte[] ReadFile(string path); /// /// Write to a file at a given . diff --git a/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs b/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs index 04cb28f41a..ee281a8cdd 100644 --- a/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs +++ b/src/Tgstation.Server.Host/Core/SynchronousIOManager.cs @@ -31,10 +31,7 @@ namespace Tgstation.Server.Host.Core } /// - public byte[] ReadFile(string path, CancellationToken cancellationToken) - { - throw new NotImplementedException(); - } + public byte[] ReadFile(string path) => File.ReadAllBytes(path); /// public bool WriteFileChecked(string path, byte[] data, string previousSha1, CancellationToken cancellationToken)