Other: Add v2 to module name

This commit is contained in:
James Houlahan
2022-05-31 15:54:04 +02:00
parent 098956b81a
commit 4edf2eb92c
230 changed files with 696 additions and 642 deletions

View File

@ -25,7 +25,7 @@ import (
"sync"
"time"
"github.com/ProtonMail/proton-bridge/pkg/message"
"github.com/ProtonMail/proton-bridge/v2/pkg/message"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View File

@ -51,7 +51,6 @@ func (ir *IMAPResponse) sendCommand(reqTag string, reqIndex int, command string,
var section string
for {
line, err := response.ReadString('\n')
if err != nil {
ir.err = errors.Wrap(err, "read response failed")
debug.printErr(ir.err.Error() + "\n")