Branch: develop
- Author
- thewhodidthis <thewhodidthis@fastmail.com>
- Date
- Mar. 10 '23 20:08:45
- Commit
- 521f18aefd4001ea46b8c2aba9479cab5d9f61d2
- Parent
- 9a7d6153a5bd876d2c22eba48cba62fc9d5e77d7
diff --git a/project.go b/project.go
index 04d1412..49841a3 100644
--- a/project.go
+++ b/project.go
@@ -52,7 +52,7 @@ func (p *project) init() error {
d := filepath.Join(p.base, dir)
// Clear existing dirs when -f true.
- if p.options.Force && dir != "branch" {
+ if p.options.Force {
if err := os.RemoveAll(d); err != nil {
return fmt.Errorf("unable to remove directory: %v", err)
}