workshopper / scope-chains-closures

Javascript Scope Chains And Closures Workshop
ISC License
202 stars 142 forks source link

DeprecationWarning #36

Closed pwndude closed 6 years ago

pwndude commented 7 years ago

When the first workshop is selected, the following warning shows at the end of output:

(node:19020) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

jazzlee commented 6 years ago

(node:9568) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

499070844 commented 6 years ago

(node:1248) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

daxsis commented 6 years ago

npm\node_modules\scope-chains-closures\node_modules\adventure\index.js line 288:8 Shop.prototype.save = function (key) { fs.writeFile(this.files[key], JSON.stringify(this.state[key]), function(err){ if(err) throw err; }); };

finnp commented 6 years ago

Fixed with @workshoppers/scope-chains-closures