From 6d964c67a018912561c3c7b766f090b167e5340c Mon Sep 17 00:00:00 2001 From: iyear Date: Mon, 15 May 2023 17:22:46 +0800 Subject: [PATCH] fix(upload): allow empty chat. #176 --- cmd/up.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/up.go b/cmd/up.go index 4a9e1b30e3..d9e6786c1f 100644 --- a/cmd/up.go +++ b/cmd/up.go @@ -27,7 +27,6 @@ func NewUpload() *cobra.Command { cmd.Flags().StringSliceVarP(&opts.Excludes, "excludes", "e", []string{}, "exclude the specified file extensions") // completion and validation - _ = cmd.MarkFlagRequired(_chat) _ = cmd.MarkFlagRequired(path) return cmd