Skip to content

Commit 0b68d9a

Browse files
authored
update default.
1 parent aef4e41 commit 0b68d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple-git/src/lib/simple-git-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class SimpleGitApi implements SimpleGitBase {
3939
});
4040
}
4141

42-
add(files: string | string[], force: bool) {
42+
add(files: string | string[], force: bool = false) {
4343
return this._runTask(
4444
straightThroughStringTask(['add', force ? '-f': '', ...asArray(files)]),
4545
trailingFunctionArgument(arguments)

0 commit comments

Comments
 (0)