summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2014-04-08 22:06:25 +0100
committerprzemyslawpluta <przemekpluta@hotmail.com>2014-04-08 22:06:25 +0100
commit49a1be038940f2b0a6359015bf30d35846306bec (patch)
treed471b68e9cf77c9c77947f0d762a0fbe959fec4d
parent502aa01ab9082a4ccb5ef747c561ddb77a2cd6e4 (diff)
downloadmongo-edu-49a1be038940f2b0a6359015bf30d35846306bec.zip
typo
-rw-r--r--scripts/winpy3fix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/winpy3fix.js b/scripts/winpy3fix.js
index d5facd0..a597ba3 100644
--- a/scripts/winpy3fix.js
+++ b/scripts/winpy3fix.js
@@ -8,7 +8,7 @@ fs.unlink(target, function (err) {
'use strict';
if (err !== null) { return console.log(err.stack); }
mv(path.resolve(__dirname + '../' + '../.temp/youtube-dl.js'), target, function error(err) {
- if (err !== null) { console.log(err); }
+ if (err) { console.log(err); }
});
});