Skip to content

Commit

Permalink
Fixing lint issue. Thanks @maxkorp for pointing this out.
Browse files Browse the repository at this point in the history
  • Loading branch information
asgeirbirkis committed Sep 2, 2015
1 parent f6b6afb commit f263512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/diff-commits.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ nodegit.Repository.open(path.resolve(__dirname, "../.git"))
patch.hunks().then(function(hunks) {
hunks.forEach(function(hunk) {
hunk.lines().then(function(lines) {
console.log("diff", patch.oldFile().path(), patch.newFile().path());
console.log("diff", patch.oldFile().path(),
patch.newFile().path());
console.log(hunk.header().trim());
lines.forEach(function(line) {
console.log(String.fromCharCode(line.origin()) +
Expand Down

0 comments on commit f263512

Please sign in to comment.