diff --git a/index.js b/index.js index dfa5517..997358a 100755 --- a/index.js +++ b/index.js @@ -67,8 +67,6 @@ forEachPackage(rootDir, function(packageName, packagePath) { messages.push(' * ' + file + ': ' + statusTexts.join(', ')); } }).then(function(config) { - repo.free(); - var packageJson = readPackageJson(packagePath); return { @@ -219,4 +217,4 @@ function writePackageJsonText(packagePath, text) { function writePackageJson(packagePath, json) { writePackageJsonText(packagePath, JSON.stringify(json, undefined, ' ')); -} \ No newline at end of file +} diff --git a/package.json b/package.json index 1c50a7a..4076793 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "homepage": "https://github.com/TerriaJS/npmgitdev#readme", "dependencies": { - "nodegit": "^0.18.0" + "nodegit": "^0.27.0" }, "engineStrict": true, "engines": {