Skip to content

Commit 8ffacbc

Browse files
author
John Haley
committed
Fix docs for Repository#stageFilemode
1 parent 8c59abf commit 8ffacbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ Repository.prototype.fetchheadForeach = function(callback) {
11701170
/**
11711171
* Stages or unstages line selection of a specified file
11721172
* @async
1173-
* @param {String, Array} filePath The relative path of this file in the repo
1173+
* @param {String|Array} filePath The relative path of this file in the repo
11741174
* @param {Boolean} stageNew Set to stage new filemode. Unset to unstage.
11751175
* @return {Number} 0 or an error code
11761176
*/

0 commit comments

Comments
 (0)