From 766dd89ffa198a315b043230f904636461c41efe Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Oct 2025 01:49:36 +0900 Subject: internal: clean up build strings These names are less ambiguous and should be understandable without reading the source code. Signed-off-by: Ophestra --- cmd/hsu/path.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 cmd/hsu/path.go (limited to 'cmd/hsu/path.go') diff --git a/cmd/hsu/path.go b/cmd/hsu/path.go deleted file mode 100644 index 53aa9d10..00000000 --- a/cmd/hsu/path.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import ( - "log" - "path" -) - -const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID" - -var ( - hmain = compPoison -) - -func mustCheckPath(p string) string { - if p != compPoison && p != "" && path.IsAbs(p) { - return p - } - log.Fatal("this program is compiled incorrectly") - return compPoison -} -- cgit v1.3.1