From 00d2845f1384dc2565d61eb75554380e5feca925 Mon Sep 17 00:00:00 2001 From: Mats Linander Date: Thu, 21 Sep 2023 09:30:31 -0400 Subject: [PATCH] :wasm: --- main.go | 3 --- main_nonjs.go | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 3e57755fd5..f2f64cfbc0 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,6 @@ import ( "github.com/spf13/cobra" "tidbyt.dev/pixlet/cmd" "tidbyt.dev/pixlet/cmd/community" - "tidbyt.dev/pixlet/cmd/private" ) var ( @@ -34,8 +33,6 @@ func init() { rootCmd.AddCommand(cmd.CheckCmd) rootCmd.AddCommand(cmd.SetAuthCmd) rootCmd.AddCommand(community.CommunityCmd) - rootCmd.AddCommand(private.PrivateCmd) - } func main() { diff --git a/main_nonjs.go b/main_nonjs.go index e987554157..2f82271f3a 100644 --- a/main_nonjs.go +++ b/main_nonjs.go @@ -3,9 +3,11 @@ package main import ( + "tidbyt.dev/pixlet/cmd" "tidbyt.dev/pixlet/cmd/private" ) func init() { - rootCmd.AddCommand(private.CreateCmd) + rootCmd.AddCommand(private.PrivateCmd) + rootCmd.AddCommand(cmd.CreateCmd) }