koii-network / ezsandbox

The best place to get started with all things decentralized
35 stars 15 forks source link

Move the declaration of the variable outside of try / catch block #57

Open marsrobertson opened 2 weeks ago

marsrobertson commented 2 weeks ago

Here: https://github.com/koii-network/ezsandbox/blob/67906b2e6b5ca9a278c3784c8ea77fa5e1a4bab9/Lesson%202/file-sharing/after/task/fileUtils/storeFile.js#L8

image