Skip to content

Commit

Permalink
fix: improve tokens separator
Browse files Browse the repository at this point in the history
  • Loading branch information
nodece committed Jul 8, 2020
1 parent 1a6cf5e commit 687e96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Model {
ast.value = value;

if (sec === 'r' || sec === 'p') {
const tokens = value.split(', ');
const tokens = value.split(',').map(n => n.trim());

for (let i = 0; i < tokens.length; i++) {
tokens[i] = key + '_' + tokens[i];
Expand Down

0 comments on commit 687e96f

Please sign in to comment.