Update export.go (fix errcheck issue) (#28971)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
902888efd9
Коммит
812034f5eb
@@ -160,7 +160,7 @@ func TestCopyEmojiImages(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
defer os.RemoveAll(filePath)
|
||||
|
||||
copyError := th.App.copyEmojiImages(emoji.Id, emojiImagePath, pathToDir)
|
||||
copyError := th.App.copyEmojiImages(th.Context, emoji.Id, emojiImagePath, pathToDir)
|
||||
require.NoError(t, copyError)
|
||||
|
||||
_, err = os.Stat(pathToDir + "/" + emoji.Id + "/image")
|
||||
|
||||
Ссылка в новой задаче
Block a user