Skip to content

Commit 34bd859

Browse files
author
John Vilk
committed
Fixing exports line on three modules & typo in documentation.
1 parent 944db45 commit 34bd859

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/commit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Commit.prototype.getParents = function(limit, callback) {
151151
* Retrieve the commit"s parent shas.
152152
*
153153
* @param {Function} callback
154-
* @return {Array<Oids>} array of oids
154+
* @return {Array<Oid>} array of oids
155155
*/
156156
Commit.prototype.parents = function() {
157157
var result = [];

lib/convenient_hunks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ var oldStart = ConvenientHunk.prototype.oldStart;
6060
*/
6161
ConvenientHunk.prototype.oldStart = oldStart;
6262

63-
exports.module = ConvenientHunk;
63+
module.exports = ConvenientHunk;

lib/convenient_patch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ var isConflicted = ConvenientPatch.prototype.isConflicted;
129129
* Is this a conflicted patch?
130130
* @return {Boolean}
131131
*/
132-
ConvenientPatch.prototype.isConflicted = isConflicted;
132+
ConvenientPatch.prototype.isConflicted = isConflicted;
133133

134-
exports.module = ConvenientPatch;
134+
module.exports = ConvenientPatch;

lib/diff_file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ var size = DiffFile.prototype.size;
3737
*/
3838
DiffFile.prototype.size = size;
3939

40-
exports.module = DiffFile;
40+
module.exports = DiffFile;

0 commit comments

Comments
 (0)