Skip to content

Commit 027fff9

Browse files
committed
Bump to 2.1.1
1 parent f37a71b commit 027fff9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Retrieves an object that contains the git config values that are relevant to git
110110
Returns the following object which is the standard git flow config object
111111
```javascript
112112
{
113-
'gitflow.branch.master': 'master',
113+
'gitflow.branch.master': 'main',
114114
'gitflow.branch.develop': 'develop',
115115
'gitflow.prefix.feature': 'feature/',
116116
'gitflow.prefix.release': 'release/',
@@ -167,7 +167,7 @@ NodeGit.Flow.open(repository)
167167
return flow.getMasterBranch();
168168
})
169169
.then((masterBranchName) => {
170-
console.log(masterBranchName); // => master
170+
console.log(masterBranchName); // => main
171171
});
172172
```
173173

@@ -230,7 +230,7 @@ Validates that a config object has all of the required keys for nodegit-flow to
230230
Example:
231231
```javascript
232232
const result = NodeGit.Flow.validateConfig({
233-
'gitflow.branch.master': 'master',
233+
'gitflow.branch.master': 'main',
234234
'gitflow.branch.develop': 'develop',
235235
'gitflow.prefix.feature': 'feature/',
236236
'gitflow.prefix.hotfix': 'hotfix/'

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodegit-flow",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "nodegit-flow contains gitflow methods that aren't include in the vanilla nodegit package",
55
"main": "build/src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)