Bug: Fixes Incorrect Implementation of --file Option (#2715)

Signed-off-by: KapilSareen <kapilsareen584@gmail.com>
This commit is contained in:
Kapil Sareen 2025-02-27 00:53:29 +05:30 committed by GitHub
parent 0f0b53630b
commit 91daa09682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package cmd
import (
"encoding/base64"
"fmt"
"os"
"strings"
@ -173,7 +172,7 @@ func runInvoke(cmd *cobra.Command, _ []string, newClient ClientFactory) (err err
if err != nil {
return err
}
m.Data = base64.StdEncoding.EncodeToString(content)
m.Data = string(content)
}
// Invoke