Use string interpolation

This commit is contained in:
Dean Herbert 2018-09-21 11:50:36 +09:00
parent 199d76217e
commit 293a5dd099
1 changed files with 3 additions and 2 deletions

View File

@ -96,7 +96,8 @@ private void flushEvents(bool perform)
private void handleEvent(Action a)
{
if (delayingEvents)
lock (queuedEvents) queuedEvents.Add(a);
lock (queuedEvents)
queuedEvents.Add(a);
else
a.Invoke();
}
@ -441,7 +442,7 @@ public Task ImportFromStableAsync()
if (!stable.ExistsDirectory(ImportFromStablePath))
{
// This handles situations like when the user does not have a Skins folder
Logger.Log("No " + ImportFromStablePath + " folder available in osu!stable installation", LoggingTarget.Information, LogLevel.Error);
Logger.Log($"No {ImportFromStablePath} folder available in osu!stable installation", LoggingTarget.Information, LogLevel.Error);
return Task.CompletedTask;
}