Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 90b1e0b

Browse files
Foxandxsswardbell
authored andcommitted
chore: fix git-changed-examples
closes #1585
1 parent 1d294a8 commit 90b1e0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ function getChangedExamplesForCommit(commit, relativePath) {
10741074
return commit.getDiff().then(function(diffList) {
10751075
var filePaths = [];
10761076
diffList.forEach(function (diff) {
1077-
diff.patches().forEach(function (patch) {
1077+
diff.patches().then(function (patch) {
10781078
if (patch.isAdded() || patch.isModified) {
10791079
var filePath = path.normalize(patch.newFile().path());
10801080
var isExample = filePath.indexOf(relativePath) >= 0;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"minimatch": "^2.0.10",
6262
"mkdirp": "^0.5.1",
6363
"node-html-encoder": "0.0.2",
64-
"nodegit": "0.5.0",
64+
"nodegit": "0.13.0",
6565
"path": "^0.11.14",
6666
"prompt": "^0.2.14",
6767
"protractor": "^3.0.0",

0 commit comments

Comments
 (0)