fix: add raced handling for mire record to handle delays for breaking stdin
This commit is contained in:
+2
-2
@@ -24,8 +24,8 @@ func newRecordCommand() *cobra.Command {
|
||||
if errors.Is(err, mire.ErrRecordingDiscarded) {
|
||||
return nil
|
||||
}
|
||||
cmd.PrintErrln(err)
|
||||
return nil
|
||||
cmd.SilenceUsage = true
|
||||
return err
|
||||
}
|
||||
|
||||
output.Println(createdPath)
|
||||
|
||||
Reference in New Issue
Block a user