Skip to content

Commit 3e46bfa

Browse files
committed
Use master.name
1 parent 9f87943 commit 3e46bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/test/scala/org/scalasteward/core/git/FileGitAlgTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ object FileGitAlgTest {
205205
for {
206206
_ <- gitAlg.removeClone(repo)
207207
_ <- fileAlg.ensureExists(repo)
208-
_ <- git("-c", s"init.defaultBranch=$master", "init", ".")(repo)
208+
_ <- git("-c", s"init.defaultBranch=${master.name}", "init", ".")(repo)
209209
_ <- gitAlg.setAuthor(repo, config.gitCfg.gitAuthor)
210210
_ <- git("commit", "--allow-empty", "-m", "Initial commit")(repo)
211211
} yield ()

0 commit comments

Comments
 (0)