\n replaceAll
This commit is contained in:
@@ -257,7 +257,7 @@ func (d *Workflow) extractResourcePlantUML(line string, resource resources.Resou
|
||||
if len(splitted) <= 1 {
|
||||
return "", nil, errors.New("Can't deserialize Object, there's no name")
|
||||
}
|
||||
resource.SetName(strings.ReplaceAll(splitted[1], "\\\\n", ""))
|
||||
resource.SetName(strings.ReplaceAll(splitted[1], "\\n", ""))
|
||||
|
||||
splittedComments := strings.Split(line, "'")
|
||||
if len(splittedComments) > 1 {
|
||||
|
||||
Reference in New Issue
Block a user