You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the "add" feature of repo, if you call it with two arguments : options and callback, there is an error because command line executed is "git add [Object object]".
I was trying with repo.add({"A":true}, function(){...}), that is not working.
When replacing "files" first argument with null, using repo.add(null, {"A": true}, function(){...}), it is working and runs "git add -A"
Maybe just confusing documentation because options is not specified ?
The text was updated successfully, but these errors were encountered:
When using the "add" feature of repo, if you call it with two arguments : options and callback, there is an error because command line executed is "git add [Object object]".
I was trying with repo.add({"A":true}, function(){...}), that is not working.
When replacing "files" first argument with null, using repo.add(null, {"A": true}, function(){...}), it is working and runs "git add -A"
Maybe just confusing documentation because options is not specified ?
The text was updated successfully, but these errors were encountered: