fix: allow empty line in config type preperties
This commit is contained in:
parent
6c495c045c
commit
986b543afd
@ -53,6 +53,7 @@ export default {
|
|||||||
return str
|
return str
|
||||||
.replace('\n\r', '\n')
|
.replace('\n\r', '\n')
|
||||||
.split('\n')
|
.split('\n')
|
||||||
|
.filter(_str => _str)
|
||||||
.every(_str => reg.test(_str.trim()));
|
.every(_str => reg.test(_str.trim()));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user