Update export.go (fix errcheck issue) (#28971)

Этот коммит содержится в:
TheInvincible
2024-12-20 17:45:13 +01:00
коммит произвёл GitHub
родитель 902888efd9
Коммит 812034f5eb
4 изменённых файлов: 71 добавлений и 44 удалений

Просмотреть файл

@@ -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")