From 626fb78ddee01f78d732d681d5c4077440dd4de3 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 4 Jun 2024 10:38:13 -0500 Subject: [PATCH] internal -> internal/oizys --- pkgs/oizys/oizys-go/cmd/root.go | 2 +- pkgs/oizys/oizys-go/internal/{oizys.go => oizys/main.go} | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename pkgs/oizys/oizys-go/internal/{oizys.go => oizys/main.go} (97%) diff --git a/pkgs/oizys/oizys-go/cmd/root.go b/pkgs/oizys/oizys-go/cmd/root.go index 0735fc3..fef51d9 100644 --- a/pkgs/oizys/oizys-go/cmd/root.go +++ b/pkgs/oizys/oizys-go/cmd/root.go @@ -3,7 +3,7 @@ package cmd import ( "os" - o "oizys/internal" + o "oizys/internal/oizys" cc "github.com/ivanpirog/coloredcobra" "github.com/spf13/cobra" diff --git a/pkgs/oizys/oizys-go/internal/oizys.go b/pkgs/oizys/oizys-go/internal/oizys/main.go similarity index 97% rename from pkgs/oizys/oizys-go/internal/oizys.go rename to pkgs/oizys/oizys-go/internal/oizys/main.go index 5ec69e2..8c77511 100644 --- a/pkgs/oizys/oizys-go/internal/oizys.go +++ b/pkgs/oizys/oizys-go/internal/oizys/main.go @@ -193,8 +193,7 @@ func parseDryRun(buf string) (*packages, *packages) { if len(parts[0])+len(parts[1]) == 0 { log.Println("no changes...") - log.Println("or I failed to parse it into the expected number of parts") - log.Fatalln("failed to parse nix build --dry-run output") + log.Fatalln("or failed to parse nix build --dry-run output") } return parsePackages(parts[0], "packages to build"),