Skip to content

Commit

Permalink
Rename master branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 24, 2021
1 parent 4bb7f4a commit 20bb8ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* global after, before, bench, suite */
const fs = require('fs');
const rimraf = require('rimraf');
const globbyMaster = require('globby');
const globbyMainBranch = require('globby');
const gs = require('glob-stream');
const fastGlob = require('fast-glob');
const globby = require('.');
Expand All @@ -16,9 +16,9 @@ const runners = [{
callback();
}
}, {
name: 'globby async (upstream/master)',
name: 'globby async (upstream/main)',
run: async (patterns, callback) => {
await globbyMaster(patterns);
await globbyMainBranch(patterns);
callback();
}
}, {
Expand All @@ -27,9 +27,9 @@ const runners = [{
globby.sync(patterns);
}
}, {
name: 'globby sync (upstream/master)',
name: 'globby sync (upstream/main)',
run: patterns => {
globbyMaster.sync(patterns);
globbyMainBranch.sync(patterns);
}
}, {
name: 'glob-stream',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"ava": "^3.13.0",
"get-stream": "^6.0.0",
"glob-stream": "^6.1.0",
"globby": "sindresorhus/globby#master",
"globby": "sindresorhus/globby#main",
"matcha": "^0.7.0",
"rimraf": "^3.0.2",
"tsd": "^0.13.1",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Just a quick overview.
- `{}` allows for a comma-separated list of "or" expressions
- `!` at the beginning of a pattern will negate the match

[Various patterns and expected matches.](https://github.com/sindresorhus/multimatch/blob/master/test/test.js)
[Various patterns and expected matches.](https://github.com/sindresorhus/multimatch/blob/main/test/test.js)

## globby for enterprise

Expand Down

0 comments on commit 20bb8ae

Please sign in to comment.