From f93e136386af5310f477064b9fdaf0c010457f16 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 27 Jan 2024 18:13:37 +0200 Subject: [PATCH] Use string interpolation for test string Closes #9696 --- src/NzbDrone.Common/Disk/DiskProviderBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Common/Disk/DiskProviderBase.cs b/src/NzbDrone.Common/Disk/DiskProviderBase.cs index b9d6503e0..61e80f97c 100644 --- a/src/NzbDrone.Common/Disk/DiskProviderBase.cs +++ b/src/NzbDrone.Common/Disk/DiskProviderBase.cs @@ -130,7 +130,7 @@ public bool FolderWritable(string path) try { var testPath = Path.Combine(path, "radarr_write_test.txt"); - var testContent = string.Format("This file was created to verify if '{0}' is writable. It should've been automatically deleted. Feel free to delete it.", path); + var testContent = $"This file was created to verify if '{path}' is writable. It should've been automatically deleted. Feel free to delete it."; WriteAllText(testPath, testContent); File.Delete(testPath); return true;