likyh commented on code in PR #2053:
URL: https://github.com/apache/incubator-devlake/pull/2053#discussion_r891242034
##########
config/config.go:
##########
@@ -69,11 +69,14 @@ func replaceNewEnvItemInOldContent(v *viper.Viper,
envFileContent string) (error
switch ret := val.(type) {
case string:
ret = strings.Replace(ret, `\`, `\\`, -1)
- ret = strings.Replace(ret, `=`, `\=`, -1)
- ret = strings.Replace(ret, `'`, `\'`, -1)
+ //ret = strings.Replace(ret, `=`, `\=`, -1)
+ //ret = strings.Replace(ret, `'`, `\'`, -1)
Review Comment:
Yeah, it's without side effects but lettle ugly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]