Skip to content

Add rewind before read token from TmpStorage#41

Open
Yegorov wants to merge 1 commit intoactie:masterfrom
Yegorov:fix-empty-token
Open

Add rewind before read token from TmpStorage#41
Yegorov wants to merge 1 commit intoactie:masterfrom
Yegorov:fix-empty-token

Conversation

@Yegorov
Copy link

@Yegorov Yegorov commented Aug 18, 2021

Если не добавить rewind перед чтением файла с токеном, то токен получается пустым и файл стирается.
Добавил пример теста (с настоящим файлом), который воспроизводит эту ошибку.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant