Format from docker

This commit is contained in:
Mike Phares 2025-01-08 16:05:21 +00:00
parent 4b85f8807d
commit 5c08ac222a
2 changed files with 38 additions and 58 deletions

View File

@ -215,46 +215,46 @@ internal static partial class Helper20240623
]; ];
private static string GetSettingsLines() => private static string GetSettingsLines() =>
/*lang=json,strict*/ """ /*lang=json,strict*/ """
{ {
"[markdown]": { "[markdown]": {
"editor.wordWrap": "off" "editor.wordWrap": "off"
}, },
"cSpell.words": [ "cSpell.words": [
"kanbn" "kanbn"
] ]
} }
"""; """;
private static string GetTasksLines(string directory) => private static string GetTasksLines(string directory) =>
/*lang=json,strict*/ """ /*lang=json,strict*/ """
{ {
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "File-Folder-Helper AOT s X Day-Helper-2024-06-23", "label": "File-Folder-Helper AOT s X Day-Helper-2024-06-23",
"type": "shell", "type": "shell",
"command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe", "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe",
"args": [ "args": [
"s", "s",
"X", "X",
"{}", "{}",
"Day-Helper-2024-06-23", "Day-Helper-2024-06-23",
"*.md", "*.md",
"##_Sub-tasks", "##_Sub-tasks",
"code-insiders", "code-insiders",
"index.md", "index.md",
"-_[,](", "-_[,](",
"##_Done", "##_Done",
".kan", ".kan",
"D:/5-Other-Small/Kanban/Year-Season", "D:/5-Other-Small/Kanban/Year-Season",
"316940400000" "316940400000"
], ],
"problemMatcher": [] "problemMatcher": []
} }
] ]
} }
""".Replace("{}", directory.Replace('\\', '/')); """.Replace("{}", directory.Replace('\\', '/'));
private static void FileWriteAllText(string path, string contents) private static void FileWriteAllText(string path, string contents)
{ {

View File

@ -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
// {
// }