[sample] Satisfy rubocop
Merge pull request #305 from Genshin/rubocop_cleaning_sample

[sample] Satisfy rubocop