Use function expressions when referring to 'arguments'.

This commit is contained in:
Daniel Rosenwasser
2015-03-20 18:04:49 -07:00
parent 0d211fb28d
commit 8d66f01141
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
import base = require("git");
var git = new base.Git("../.git");
git.call_git("", "clone", "", {}, ["https://github.com/borisyankov/DefinitelyTyped.git", "d.ts"], (err, data) => {
git.call_git("", "clone", "", {}, ["https://github.com/borisyankov/DefinitelyTyped.git", "d.ts"], function (err, data) {
console.log(arguments);
});