Skip to content

Commit f263512

Browse files
committed
Fixing lint issue. Thanks @maxkorp for pointing this out.
1 parent f6b6afb commit f263512

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/diff-commits.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ nodegit.Repository.open(path.resolve(__dirname, "../.git"))
2525
patch.hunks().then(function(hunks) {
2626
hunks.forEach(function(hunk) {
2727
hunk.lines().then(function(lines) {
28-
console.log("diff", patch.oldFile().path(), patch.newFile().path());
28+
console.log("diff", patch.oldFile().path(),
29+
patch.newFile().path());
2930
console.log(hunk.header().trim());
3031
lines.forEach(function(line) {
3132
console.log(String.fromCharCode(line.origin()) +

0 commit comments

Comments
 (0)