Skip to content

Commit

Permalink
fix(core): update validaton to exclude hyphenated variable names (#3066
Browse files Browse the repository at this point in the history
  • Loading branch information
spinnakerbot authored and louisjimenez committed Jul 30, 2019
1 parent f1ce54f commit 2661d79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static class Metadata {
@NoArgsConstructor
@AllArgsConstructor
public static class Variable implements NamedContent<Variable>, Cloneable {
public static final String TEMPLATE_VALID_VARIABLE_NAME_REGEX = "^[a-zA-Z0-9-_]+$";
public static final String TEMPLATE_VALID_VARIABLE_NAME_REGEX = "^[a-zA-Z0-9_]+$";
private String name;
private String description;
private String type;
Expand Down

0 comments on commit 2661d79

Please sign in to comment.