From 56267d5141dc9a91ebd7725b8d4ac963684f15e5 Mon Sep 17 00:00:00 2001 From: Riku Virtanen Date: Mon, 15 Jan 2024 09:24:31 +0200 Subject: [PATCH] Linting issues --- .../data/2f20d51c-f5c0-4dfe-88f6-87f7ab32e0ba/file1.txt | 1 + .../data/4099650d-b734-4028-b8e3-703aa93ef02e/file1.txt | 1 + .../data/4099650d-b734-4028-b8e3-703aa93ef02e/file2.txt | 1 + .../data/4099650d-b734-4028-b8e3-703aa93ef02e/file3.txt | 1 + .../data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file1.txt | 1 + .../data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file2.txt | 1 + .../data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file3.txt | 1 + .../data/839d6cbf-196f-42b0-9a92-b8a991729992/file1.txt | 1 + .../data/89a13b04-05f3-41d2-a096-f69777984fc0/file1.txt | 1 + .../data/89a13b04-05f3-41d2-a096-f69777984fc0/file2.txt | 1 + .../data/89a13b04-05f3-41d2-a096-f69777984fc0/file3.txt | 1 + .../data/b4863dc9-17e8-4395-a725-54d262c223f6/file1.txt | 1 + .../data/b4863dc9-17e8-4395-a725-54d262c223f6/file2.txt | 1 + .../data/b4863dc9-17e8-4395-a725-54d262c223f6/file3.txt | 1 + .../data/da87d4a5-9b1f-4092-8c97-362185d95173/file1.txt | 1 + .../data/f3f1ce13-123d-4f0c-9e1b-6118dbc2f512/file1.txt | 1 + .../Frends.FTP.DownloadFiles/Definitions/FileTransporter.cs | 5 ++--- 17 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/2f20d51c-f5c0-4dfe-88f6-87f7ab32e0ba/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file2.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file3.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file2.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file3.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/839d6cbf-196f-42b0-9a92-b8a991729992/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file2.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file3.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file2.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file3.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/da87d4a5-9b1f-4092-8c97-362185d95173/file1.txt create mode 100644 Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/f3f1ce13-123d-4f0c-9e1b-6118dbc2f512/file1.txt diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/2f20d51c-f5c0-4dfe-88f6-87f7ab32e0ba/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/2f20d51c-f5c0-4dfe-88f6-87f7ab32e0ba/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/2f20d51c-f5c0-4dfe-88f6-87f7ab32e0ba/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file2.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file2.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file2.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file3.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file3.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/4099650d-b734-4028-b8e3-703aa93ef02e/file3.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file2.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file2.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file2.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file3.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file3.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/5571c98e-9a4d-45d7-b5fb-3873d37bfbcf/file3.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/839d6cbf-196f-42b0-9a92-b8a991729992/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/839d6cbf-196f-42b0-9a92-b8a991729992/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/839d6cbf-196f-42b0-9a92-b8a991729992/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file2.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file2.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file2.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file3.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file3.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/89a13b04-05f3-41d2-a096-f69777984fc0/file3.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file2.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file2.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file2.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file3.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file3.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/b4863dc9-17e8-4395-a725-54d262c223f6/file3.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/da87d4a5-9b1f-4092-8c97-362185d95173/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/da87d4a5-9b1f-4092-8c97-362185d95173/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/da87d4a5-9b1f-4092-8c97-362185d95173/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/f3f1ce13-123d-4f0c-9e1b-6118dbc2f512/file1.txt b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/f3f1ce13-123d-4f0c-9e1b-6118dbc2f512/file1.txt new file mode 100644 index 0000000..b6fc4c6 --- /dev/null +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles.Tests/DockerVolumes/data/f3f1ce13-123d-4f0c-9e1b-6118dbc2f512/file1.txt @@ -0,0 +1 @@ +hello \ No newline at end of file diff --git a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles/Definitions/FileTransporter.cs b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles/Definitions/FileTransporter.cs index 46f6d71..0a380d0 100644 --- a/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles/Definitions/FileTransporter.cs +++ b/Frends.FTP.DownloadFiles/Frends.FTP.DownloadFiles/Definitions/FileTransporter.cs @@ -114,12 +114,11 @@ private bool CreateDestinationDirIfNeeded(out FileTransferResult fileTransferRes } catch (Exception ex) { - userResultMessage =$"Error while creating destination directory '{_destinationDirectoryWithMacrosExpanded}': {ex.Message}"; - + userResultMessage = $"Error while creating destination directory '{_destinationDirectoryWithMacrosExpanded}': {ex.Message}"; + fileTransferResult = FormFailedFileTransferResult(userResultMessage); _logger.NotifyError(_batchContext, userResultMessage, new Exception(userResultMessage)); return false; - } } else