From a7c7eb48723e565a974f87dc808708da6951c3ff Mon Sep 17 00:00:00 2001 From: Ibrahim Islam Date: Tue, 20 Oct 2020 06:35:51 +0700 Subject: [PATCH] refactors to use string interpolation Former-commit-id: 462069cefe0555d14bca8effd4fb205799f5fa7c --- FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs b/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs index df7729d..67c59bf 100644 --- a/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs +++ b/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs @@ -8,7 +8,7 @@ static class PipeHelpers { static readonly string PipePrefix = Path.Combine(Path.GetTempPath(), "CoreFxPipe_"); - public static string GetUnqiuePipeName() => "FFMpegCore_" + Guid.NewGuid("N").Substring(0, 5); + public static string GetUnqiuePipeName() => $"FFMpegCore_{Guid.NewGuid("N").Substring(0, 5)}"; public static string GetPipePath(string pipeName) {