Skip to content

Commit 9deb229

Browse files
Fix version output to respect context flags (#62)
* Initial plan * Initial plan: Apply consistency updates to BuildMark Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> * Fix Program.cs to use context.WriteLine for version output Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> * Add common spell check words to .cspell.json Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> * Remove temporary consistency analysis file Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
1 parent 8a0cbfa commit 9deb229

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.cspell.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"buildmark",
66
"BuildMark",
77
"buildnotes",
8+
"codeql",
9+
"CodeQL",
810
"copilot",
911
"creatordate",
1012
"cspell",
@@ -27,6 +29,10 @@
2729
"opencover",
2830
"pandoc",
2931
"reqstream",
32+
"SBOM",
33+
"sbom",
34+
"semver",
35+
"slnx",
3036
"snupkg",
3137
"tracematrix",
3238
"trx",

src/DemaConsulting.BuildMark/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static void Run(Context context)
9292
// Priority 1: Version query
9393
if (context.Version)
9494
{
95-
Console.WriteLine(Version);
95+
context.WriteLine(Version);
9696
return;
9797
}
9898

0 commit comments

Comments
 (0)