Skip to content

Commit 84e3f1b

Browse files
committed
[config] modify regular expression to parsing dingo.yaml template
1 parent e8fdba7 commit 84e3f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/task/step/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import (
4343
const (
4444
TEMP_DIR = "/tmp"
4545
REGEX_KV_SPLIT = "^(([^%s]+)%s\\s*)([^\\s#]*)" // key: mu[2] value: mu[3]
46-
DINGO_REGEX_KV_SPLIT = `^(\s*[^%s]+)%s\s*([^#\s]*)` // key: mu[1] value: mu[2]
46+
DINGO_REGEX_KV_SPLIT = `^(\s*[^%s]+)%s\s*([^#]*)` // key: mu[1] value: mu[2]
4747
)
4848

4949
type (

0 commit comments

Comments
 (0)