Skip to content

Commit

Permalink
auto
Browse files Browse the repository at this point in the history
  • Loading branch information
A-J-Bauer committed Feb 29, 2024
1 parent 8e19200 commit bbe6056
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/MinifyVersionPublishToFolder/JSMin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class JSMin
{
const int EOF = -1;

StreamReader? sr;
StreamWriter? sw;
StreamReader sr;
StreamWriter sw;

int theA;
int theB;
Expand Down
12 changes: 6 additions & 6 deletions .github/MinifyVersionPublishToFolder/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,38 @@ namespace MinifyVersionPublishToDist
{
public static class Echo
{
public static void WriteLine(string? message)
public static void WriteLine(string message)
{
Console.WriteLine(message);
}

public static class Debug
{
public static void WriteLine(string? message)
public static void WriteLine(string message)
{
Echo.WriteLine($"::debug::{message}");
}
}

public static class Warning
{
public static void WriteLine(string? message, [CallerLineNumber] int line = 0, [CallerMemberName] string? caller = null)
public static void WriteLine(string message, [CallerLineNumber] int line = 0, [CallerMemberName] string caller = null)
{
Echo.WriteLine($"::warning file={"Program.cs"},line={line},endLine={line},title={"warning"}::{message}");
}
}

public static class Error
{
public static void WriteLine(string? message, [CallerLineNumber] int line = 0, [CallerMemberName] string? caller = null)
public static void WriteLine(string message, [CallerLineNumber] int line = 0, [CallerMemberName] string caller = null)
{
Echo.WriteLine($"::error file={"Program.cs"},line={line},endLine={line},title={"error"}::{message}");
}
}

public static class Notice
{
public static void WriteLine(string? message, [CallerLineNumber] int line = 0, [CallerMemberName] string? caller = null)
public static void WriteLine(string message, [CallerLineNumber] int line = 0, [CallerMemberName] string caller = null)
{
Echo.WriteLine($"::notice file={"Program.cs"},line={line},endLine={line},title={"notice"}::{message}");
}
Expand Down Expand Up @@ -120,7 +120,7 @@ static void Main(string[] args)
using (StreamReader streamReader = new StreamReader(filepath))
{
firstline = streamReader.ReadLine();
string[] lineSplit = firstline!.Split(new string[] { "//", "," }, StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries);
string[] lineSplit = firstline.Split(new string[] { "//", "," }, StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries);

if (lineSplit.Length > 0)
{
Expand Down
2 changes: 1 addition & 1 deletion vgauge.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// vgauge.js 1.0.3, copyright (c) 2024 A.J.Bauer, licensed under the MIT License,see LICENSE.txt for full license text.
// vgauge.js 1.0.4, copyright (c) 2024 A.J.Bauer, licensed under the MIT License,see LICENSE.txt for full license text.

class VGauge {
static isNonEmptyString(s) {
Expand Down

0 comments on commit bbe6056

Please sign in to comment.