KadoBOT / nvim-spotify

For productivity addicts who enjoy coding while listening to Spotify, and cannot lose their focus switching to the app to control their music.
GNU General Public License v3.0
182 stars 5 forks source link

(GSC-G303) Creating tempfile using a predictable path #12

Closed KadoBOT closed 2 years ago

KadoBOT commented 2 years ago

Description

Use os.TempDir, ioutil.TempDir and ioutil.TempFile() to ensure filepath generated is correct and not predictable.

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/KadoBOT/nvim-spotify/issue/GSC-G303/occurrences/