From 5d0b334e09340578b49aed3b609493f0c0abf1f1 Mon Sep 17 00:00:00 2001 From: Michael Kirschner Date: Sat, 10 Dec 2022 19:54:38 -0500 Subject: [PATCH] don't require file extension for files to be copied --- src/Libraries/CoreNodes/FileSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libraries/CoreNodes/FileSystem.cs b/src/Libraries/CoreNodes/FileSystem.cs index 285b94426f2..533d92ffd47 100644 --- a/src/Libraries/CoreNodes/FileSystem.cs +++ b/src/Libraries/CoreNodes/FileSystem.cs @@ -110,7 +110,7 @@ public static bool CopyFile(FileInfo file, string destinationPath, bool overwrit { try { - if (Path.GetDirectoryName(destinationPath) != string.Empty && FileExtension(destinationPath) != string.Empty) + if (Path.GetDirectoryName(destinationPath) != string.Empty) { file.CopyTo(destinationPath, overwrite); }