Skip to content

Commit

Permalink
test: patch git init call
Browse files Browse the repository at this point in the history
  • Loading branch information
ruyadorno committed Mar 25, 2021
1 parent 3c136e3 commit ccc5d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/git-npmignore.js
Expand Up @@ -152,7 +152,7 @@ function setup (cb) {

var git = escapeArg(gitPath)

exec(git + ' init', {cwd: dep}, init)
exec(git + ' init --initial-branch=main', {cwd: dep}, init)

function init (er, _, stderr) {
if (er) return cb(er)
Expand Down

0 comments on commit ccc5d40

Please sign in to comment.