Skip to content

Commit

Permalink
changed logger init to InitLogger due to github actions perms issue w…
Browse files Browse the repository at this point in the history
…hen building
  • Loading branch information
KJHJason committed May 20, 2024
1 parent 6ea264e commit 7ea73df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
const (
DEBUG_MODE = false // Will save a copy of all JSON response from the API
DEFAULT_PERMS = 0755 // Owner: rwx, Group: rx, Others: rx
VERSION = "1.1.3"
VERSION = "1.1.4"
MAX_RETRY_DELAY = 3
MIN_RETRY_DELAY = 1
HTTP3_MAX_RETRY = 2
Expand Down
2 changes: 1 addition & 1 deletion logger/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
)
)

func init() {
func InitLogger() {
// create the logs directory if it does not exist
os.MkdirAll(logFolder, LOG_PERMS)

Expand Down

0 comments on commit 7ea73df

Please sign in to comment.