We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db1f7c7 + 9bf7b6c commit dbb8b20Copy full SHA for dbb8b20
CHANGELOG.md
@@ -2,6 +2,10 @@
2
3
All notable changes will be documented here.
4
5
+## [v1.3.2] - UNRELEASED
6
+
7
+- Allow invocation without `GIT_DIR` variable
8
9
## [v1.3.1] - 2022-11-15
10
11
- Fix node address in prod config
core/util.go
@@ -7,6 +7,9 @@ import (
func GetLocalDir() (string, error) {
localdir := path.Join(os.Getenv("GIT_DIR"))
+ if localdir == "" {
+ return "", nil
12
+ }
13
14
if err := os.MkdirAll(localdir, 0755); err != nil {
15
return "", err
0 commit comments