Skip to content

Commit

Permalink
Use string interpolation for test string
Browse files Browse the repository at this point in the history
Closes #9696
  • Loading branch information
mynameisbogdan committed Jan 27, 2024
1 parent a70fa0f commit f93e136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NzbDrone.Common/Disk/DiskProviderBase.cs
Expand Up @@ -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;
Expand Down

0 comments on commit f93e136

Please sign in to comment.