From 5c08ac222a754a13e936ed6d6e5d8e776f67e7c0 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Wed, 8 Jan 2025 16:05:21 +0000 Subject: [PATCH] Format from docker --- ADO2024/PI2/Helper-2024-06-23.cs | 76 ++++++++++++++++---------------- Models/Host.cs | 20 --------- 2 files changed, 38 insertions(+), 58 deletions(-) delete mode 100644 Models/Host.cs diff --git a/ADO2024/PI2/Helper-2024-06-23.cs b/ADO2024/PI2/Helper-2024-06-23.cs index 60b7b45..a0df586 100644 --- a/ADO2024/PI2/Helper-2024-06-23.cs +++ b/ADO2024/PI2/Helper-2024-06-23.cs @@ -215,46 +215,46 @@ internal static partial class Helper20240623 ]; private static string GetSettingsLines() => - /*lang=json,strict*/ """ - { - "[markdown]": { - "editor.wordWrap": "off" - }, - "cSpell.words": [ - "kanbn" - ] - } - """; + /*lang=json,strict*/ """ + { + "[markdown]": { + "editor.wordWrap": "off" + }, + "cSpell.words": [ + "kanbn" + ] + } + """; private static string GetTasksLines(string directory) => - /*lang=json,strict*/ """ - { - "version": "2.0.0", - "tasks": [ - { - "label": "File-Folder-Helper AOT s X Day-Helper-2024-06-23", - "type": "shell", - "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe", - "args": [ - "s", - "X", - "{}", - "Day-Helper-2024-06-23", - "*.md", - "##_Sub-tasks", - "code-insiders", - "index.md", - "-_[,](", - "##_Done", - ".kan", - "D:/5-Other-Small/Kanban/Year-Season", - "316940400000" - ], - "problemMatcher": [] - } - ] - } - """.Replace("{}", directory.Replace('\\', '/')); + /*lang=json,strict*/ """ + { + "version": "2.0.0", + "tasks": [ + { + "label": "File-Folder-Helper AOT s X Day-Helper-2024-06-23", + "type": "shell", + "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe", + "args": [ + "s", + "X", + "{}", + "Day-Helper-2024-06-23", + "*.md", + "##_Sub-tasks", + "code-insiders", + "index.md", + "-_[,](", + "##_Done", + ".kan", + "D:/5-Other-Small/Kanban/Year-Season", + "316940400000" + ], + "problemMatcher": [] + } + ] + } + """.Replace("{}", directory.Replace('\\', '/')); private static void FileWriteAllText(string path, string contents) { diff --git a/Models/Host.cs b/Models/Host.cs deleted file mode 100644 index 800ee70..0000000 --- a/Models/Host.cs +++ /dev/null @@ -1,20 +0,0 @@ -// using System.Text.Json.Serialization; - -// namespace File_Folder_Helper.Models; - -// internal record Host([property: JsonPropertyName("a")] string? Id, -// [property: JsonPropertyName("b")] string? Colon, -// [property: JsonPropertyName("c")] string? Hyphen, -// [property: JsonPropertyName("d")] string? Line, -// [property: JsonPropertyName("e")] string? Count, -// [property: JsonPropertyName("f")] string? Segments, -// [property: JsonPropertyName("g")] string? Type, -// [property: JsonPropertyName("h")] string? Device, -// [property: JsonPropertyName("i")] string? Name, -// [property: JsonPropertyName("j")] string? Location); - -// [JsonSourceGenerationOptions(WriteIndented = true, AllowTrailingCommas = true)] -// [JsonSerializable(typeof(Host[]))] -// internal partial class HostsSourceGenerationContext : JsonSerializerContext -// { -// } \ No newline at end of file