internal -> internal/oizys

This commit is contained in:
Daylin Morgan 2024-06-04 10:38:13 -05:00
parent 85ed00a547
commit 626fb78dde
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 2 additions and 3 deletions

View file

@ -3,7 +3,7 @@ package cmd
import ( import (
"os" "os"
o "oizys/internal" o "oizys/internal/oizys"
cc "github.com/ivanpirog/coloredcobra" cc "github.com/ivanpirog/coloredcobra"
"github.com/spf13/cobra" "github.com/spf13/cobra"

View file

@ -193,8 +193,7 @@ func parseDryRun(buf string) (*packages, *packages) {
if len(parts[0])+len(parts[1]) == 0 { if len(parts[0])+len(parts[1]) == 0 {
log.Println("no changes...") log.Println("no changes...")
log.Println("or I failed to parse it into the expected number of parts") log.Fatalln("or failed to parse nix build --dry-run output")
log.Fatalln("failed to parse nix build --dry-run output")
} }
return parsePackages(parts[0], "packages to build"), return parsePackages(parts[0], "packages to build"),