From f9b4fc722ac9d49615e0816f071378de8943625d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Santos=20Garrido?= Date: Fri, 23 Sep 2022 12:27:34 +0200 Subject: [PATCH] Fix MediaPlayer constructor --- ConsoleMediaPlayer.Common/MediaPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConsoleMediaPlayer.Common/MediaPlayer.cs b/ConsoleMediaPlayer.Common/MediaPlayer.cs index 0291327..5117330 100644 --- a/ConsoleMediaPlayer.Common/MediaPlayer.cs +++ b/ConsoleMediaPlayer.Common/MediaPlayer.cs @@ -10,7 +10,7 @@ public abstract class MediaPlayer public MediaPlayer(string filePath) { - if (!File.Exists(filePath)) throw new Exception($"El archivo {FilePath} no existe"); + if (!File.Exists(filePath)) throw new Exception($"El archivo {filePath} no existe"); FilePath = filePath; }