From 38fab85edd86cd9f0f138b7ffe0a219820dc3de0 Mon Sep 17 00:00:00 2001 From: Fritz Larco Date: Wed, 18 Dec 2024 14:46:48 -0300 Subject: [PATCH] bump github.com/flarco/g & correct function call in envfile.go - Replaced `g.Rme` with `g.Rmd` in `LoadEnvFile` function to fix a potential bug in environment variable processing. - Updated the `github.com/flarco/g` dependency to version v0.1.133. --- core/env/envfile.go | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/env/envfile.go b/core/env/envfile.go index 2f61fd1e..9117d9b9 100644 --- a/core/env/envfile.go +++ b/core/env/envfile.go @@ -136,7 +136,7 @@ func LoadEnvFile(path string) (ef EnvFile) { val := strings.TrimPrefix(tuple, key+"=") envMap[key] = val } - ef.Body = g.Rme(ef.Body, envMap) + ef.Body = g.Rmd(ef.Body, envMap) err := yaml.Unmarshal([]byte(ef.Body), &ef) if err != nil { diff --git a/go.mod b/go.mod index 963c4e00..a6f26da6 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,7 @@ require ( github.com/dustin/go-humanize v1.0.1 github.com/fatih/color v1.17.0 github.com/flarco/bigquery v0.0.9 - github.com/flarco/g v0.1.132 + github.com/flarco/g v0.1.133 github.com/getsentry/sentry-go v0.27.0 github.com/go-sql-driver/mysql v1.8.1 github.com/gobwas/glob v0.2.3